Powershell Scripts for EMC Performance Statistics block/NAS (updated)
This thread is going to be the home of the updated Powershell scripts for collecting stats from the Unified/VNX EMC arrays. The focus over the past months on improvements has been aimed at newer EMC technology such as Pools and FASTCache with an eye towards VMware vCenter Operations. We have stats for Pools, Pool Tiers (raid groups that make up Pools), Raid Groups, Disks, and traditional LUNs.
The latest version includes some awesome new features mainly geared at providing richer, more standardized (modeled from Analyzer names), and more natively compatible with VMware vCOps (1.0.1 required for multiple arrays and relationships). In addition it was mostly rewritten from a data calculation perspective, and gives the flexibility of choosing what level of granularity to collect on (whether purely SPs, or things like LUNs and disks).
There is also a goodie included (ps_navi_correlate_datastore_uuid) that is useful for vCOps and non-vCOps environments which does a correlation between Unified/VNX block LUN names and their VMware counterpart names.
# This command does a collection (NAS) and posts it to vCOps v5+ (UPDATED 05/29/12)
Do you know if ps_navi_correlate_datastore_uuid.ps1 works with vSphere 5 and PPVE? When I was troubleshooting it looks like "[array]$arrMILuns = $configStorageSystem.StorageDeviceInfo.MultipathInfo.Lun" is an empty array.
Storage devices using the native multipathing storage plugin will have an entry in this data object. Storage devices provided by a different storage plugin will not appear in the inventory represented by this data object.
I have been trying to get my VNXe to send metrics to my vCOps instance for 2 or 3 days now with no luck. From reading the scripts I only see the use of the navisphere cli, unless I missed something. What I understand about the VNXe system is that it does not support navi cli. Is there a tweak that I need to make to the powershell command to get this to work for me?
Short answer here, is no. These scripts provide some great functionality in the short term, but the VNX connector on release will be a fully supported vCOps plugin rewritten to be native to vCOps. These scripts leverage vCOps open interface and a dedicated collection platform to get stats into vCOps.
clintonskitson
116 Posts
1981
0
Posted January 3rd, 2012 23:00
"The system cannot locate the resource specified."
This error seems to be caused by an invalid vCOps IP or a web service that isn't running on the vCOps server.