Unsolved
This post is more than 5 years old
2 Posts
0
2300
August 19th, 2016 17:00
Detailed performance counters from Powershell
I've been working lately on a small script to pull some metrics from our Compellent arrays and stick them into a Graphite database, which eventually end up getting used to make pretty pictures in Grafana. It started out as a way to get some historical data for numbers that Enterprise Manager doesn't store history for (eg. capacity used/available per raid-level per disk-tier), but now it would also be nice if I could pull some other data over just to have it all in one place.
I've discovered a small collection of cmdlets that return IO Usage stats (reads, writes, latency, throughput, etc.) by volume, server, etc., but it doesn't seem possible to get any more detailed resolution of those metrics than once every 15 minutes - it seems to correspond with what you would see in the gui under the 'IO Usage' tab. But in the gui there is also the 'Charting' tab, which seems to have access to all of the same metrics but at 10-second resolution, which would be perfect for me to dump into graphite.
Is there any way to access that higher-resolution IO usage data from Powershell? Or any other ways of accessing it?
CompellentSanAd
43 Posts
0
September 19th, 2016 10:00
Try using SDK which has 1187 commands versus only 70 for CML PowerShell
en.community.dell.com/.../20441893
http://en.community.dell.com/techcenter/b/techcenter/archive/2016/05/18/powershell-scripting-options-for-dell-storage
_-_Rob_-_
2 Posts
0
September 19th, 2016 13:00
I am using the SDK - version 3.1.1.72 specifically. As stated in the OP, it does not provide high resolution performance counters.
CompellentSanAd
43 Posts
0
September 20th, 2016 11:00
The SDK is using the Data Collector to collect the IO commands so it is querying the IO Usage information that is collected in the database. Charting Viewer is not collected in the database so there is no option to query this. You could change your IO Usage to collect data every 1 or 5 minutes, and report on that.
WARNING!! Keep in mind when you collect data more often you could potentially fill your drive that you have your database installed on. If you change this setting to collect every 5minutes you are collecting 3 times the data you would normally collect so you may want to change how much data you keep. Change this on the data collector under Limits
The schedule is in Edit Data Collector Settings -> Schedules -> IO Usage