Capture performance figures with SNM CLI

A good way to capture performance information is via the SNM(2) Command Line Interface. It a very consistent method and quite easy to implement as well.

Do not run this 24*7 however when you start getting the feeling some servers are getting a bit sluggish it's the right time to have a closer look.

First install the SNM CLI. It's a seperate package that comes with the array. Check you CD's for Storage Navigator Modular and look for the CLI package.

Then !!!!! have a good look at the manual !!!!!!!!!! :-)
I know it can be quite overwhelming however it contains vital information that you really should take notice of. If you don't things can get pretty nasty.

The following commands can be put into a batchfile if you want to run it regularly.

auaccountenv -set -uid whoami # The whoami part should be replaced by the username you configured. !!! not root !!!

rem the next couple of lines will export the configuration data out of the array at that exact moment. This is also the information that is needed by the HDS support department to have a feeling how the array is configured and be able to make some sense out of it. Be aware a system trace dump does not provide long term performance data but may be used if further hardware analysis is required.

auconstitute -unit AMS1234 -export -config AMSconfigout.txt
auconstitute -unit AMS1234 -export -sysp AMSsyspout.txt
auconstitute -unit AMS1234 -export -port AMShgout.txt
auconstitute -unit AMS1234 -export -parts AMSpartsout.txt
auconstitute -unit AMS1234 -export -bootopt AMSbootoptout.txt
aumluref -unit AMS1234 > aumluref.txt

rem get 1 minute perfmon data for one hour.
auperform -unit AMS1234 -auto 1 -pfmstatis -count 60
auaccountenv -rm # logout of the array

The output will be in CSV files which you can zip up and send to HDS if needed. Good practice is to keep the a while so when things start getting nasty you have a reference point.