Tuesday, April 11, 2017

Usable Capacity for EMC disk


Usable Drives Capacity for EMC Storage







VNX Unified: How to gather NAR files from control station of VNX


To gather the NAR files from the control station of a VNX array the below steps to be performed.

NAR file generation for a performance analysis of the array.

1. Before you start generating the NAR files from the control station check if there are any files which has been already started  or stopped so that we can retrieve it based on the period required.

This can be checked using the below command:

/nas/sbin/navicli -h SPA analyzer -status [checks if analyzer is running and when it was started or stopped]
/nas/sbin/navicli -h SPA analyzer -archive -list -to list the NAR files if generated earlier.
 
[nasadmin@EMCCS1 ~]$ /nas/sbin/navicli -h SPA analyzer -archive -list
No files found.

2. If there are no files present in the array follow the below steps to generate the NAR files and then retrieve them based on the requirement on the time period.
 ++check the interval set for the log collection especially rtinterval, narinterval and Periodic Archiving.The below command can be run in one single command. Periodic Archive must always be Enabled in order to create new NAR files automatically.

/nas/sbin/navicli -h spa analyzer -get -narinterval/nas/sbin/navicli -h spa analyzer -get -rtinterval/nas/sbin/navicli -h spa analyzer -get -logperiod/nas/sbin/navicli -h spa analyzer -get -periodicarchiving/nas/sbin/navicli -h spa analyzer -status

OUTPUT:
 
[nasadmin@EMCCS1 ~]$ /nas/sbin/navicli -h SPA analyzer -get -narinterval
Archive Poll Interval (sec):  300 (note that 300 seconds is the default setting - for more detailed NAR data set the -narinterval to 60 seconds)

[nasadmin@EMCCS1 ~]$ /nas/sbin/navicli -h SPA analyzer -get -rtinterval
Real Time Poll Interval (sec):  300

[nasadmin@EMCCS1 ~]$ /nas/sbin/navicli -h spa analyzer -get -logperiod
Current Logging Period (day):  nonstop (setting the -logperiod to nonstop along with Periodicarchiveing to enabled will allow for the automatic generation of sequential NAR files over the period set to run)

[nasadmin@EMCCS1 ~]$ /nas/sbin/navicli -h SPA analyzer -get -periodicarchiving
Periodic Archiving:  Yes

[nasadmin@EMCCS1 ~]$ /nas/sbin/navicli -h SPA analyzer -status
Running. Started on 01/20/2017 09:30:18

3. In this step we can change the settings  like the timeinterval the logperiod for the log colleection as per the requirement.
++For example if the logs are required for the 7 days then the log period can be set to 7.

 
/nas/sbin/navicli -h spa analyzer -set -narinterval 60/nas/sbin/navicli -h spa analyzer -set -rtinterval 60/nas/sbin/navicli -h spa analyzer -set -logperiod 7; -->Even this command can be run as a single command.

4. Once everything is set then we can start the NAR file generation using the below command and retrieve it once complete.


/nas/sbin/navicli -h SPA analyzer -start [starts analyzer]

For retrieveing the logs:


/nas/sbin/navicli -h SPA analyzer -archive -list [lists all available NAR/NAZ files]
/nas/sbin/navicli -h SPA analyzer -archive -file <filename> [retrieves NAR with filename to current directory]


 

Commonly used commands:

/nas/sbin/navicli -h SPA analyzer -status
 [checks if analyzer is running and when it was started or stopped]
/nas/sbin/navicli -h SPA analyzer -start [starts analyzer]
/nas/sbin/navicli -h SPA analyzer -set -nartinerval <seconds>
 [sets archive polling interval to number of seconds]
/nas/sbin/navicli -h SPA analyzer -archive -list [lists all available NAR/NAZ files]
/nas/sbin/navicli -h SPA analyzer -archive -file <filename> [retrieves NAR with filename to current directory]