Config Advisor 3.2.0 Command Script for Clustered Data ONTAP

The following script has been created from section 8.4.4 ‘Collecting data manually’ of the ‘Config Advisor 3.2 Installation and Administration Guide.’ The guide has 7DOT commands only, so here we’ve put system node run in front, and taken out any 7-Mode commands that don’t work this way. The script file can be easily edited for the nodename using Notepad++ and Alt+Click+Drag.

system node run -node nodename echo ===== VERSION =====
system node run -node nodename version
system node run -node nodename echo ===== SYSCONFIG-A =====
system node run -node nodename sysconfig -a
system node run -node nodename echo ===== SYSCONFIG-R =====
system node run -node nodename sysconfig -r
system node run -node nodename echo ===== FC-DEVICE-MAP =====
system node run -node nodename fcstat device_map
system node run -node nodename echo ===== STORAGE-DISK =====
system node run -node nodename storage show disk -a
system node run -node nodename echo ===== STORAGE-DISK-P =====
system node run -node nodename storage show disk -p
system node run -node nodename echo ===== RC =====
system node run -node nodename rdfile /etc/rc
system node run -node nodename echo ===== HOSTS =====
system node run -node nodename rdfile /etc/hosts
system node run -node nodename echo ===== EXPORTS =====
system node run -node nodename rdfile /etc/exports
system node run -node nodename echo ===== SOFTWARE-LICENSES =====
system node run -node nodename license
system node run -node nodename echo ===== CSTATUS =====
system node run -node nodename cf status
system node run -node nodename echo ===== CPARTNER =====
system node run -node nodename cf partner
system node run -node nodename echo ===== HOSTNAME =====
system node run -node nodename hostname
system node run -node nodename echo ===== IFCONFIG-A =====
system node run -node nodename ifconfig -a
system node run -node nodename echo ===== DF =====
system node run -node nodename df
system node run -node nodename echo ===== DF-A =====
system node run -node nodename df –A
system node run -node nodename echo ===== SNAP-LIST-N =====
system node run -node nodename snap list -n
system node run -node nodename echo ===== OPTIONS =====
system node run -node nodename options
system node run -node nodename echo ===== VOL-STATUS-V =====
system node run -node nodename vol status -v
system node run -node nodename echo ===== STORAGE-ACP =====
system node run -node nodename storage show acp -a
system node run -node nodename echo ===== ENVIRONMENT =====
system node run -node nodename environment status
system node run -node nodename echo ===== RLM =====
system node run -node nodename rlm status
system node run -node nodename echo ===== SP =====
system node run -node nodename sp status
system node run -node nodename echo ===== BMC =====
system node run -node nodename bmc status
system node run -node nodename echo ===== SIS-STATUS =====
system node run -node nodename sis status
system node run -node nodename echo ===== DATE =====
system node run -node nodename date
system node run -node nodename echo ===== SNAPVAULT-STATUS =====
system node run -node nodename snapvault status
system node run -node nodename echo ===== AGGR-STATUS-V =====
system node run -node nodename aggr status –v

Note: These commands were tested AOK on CDOT 8.1.2.

Comments