Saturday, 18 May 2013

Config Advisor 3.2.0 Command Script for Data ONTAP 7-Mode

The following script has been created from section 8.4.4 ‘Collecting data manually’ of the ‘Config Advisor 3.2 Installation and Administration Guide.’

Config Advisor is a great tool with an easy to use GUI, but sometimes it’s useful to know the 7DOT commands that are running under the hood!

echo ===== VERSION =====
version
echo ===== SYSCONFIG-A =====
sysconfig -a
echo ===== SYSCONFIG-R =====
sysconfig -r
echo ===== FC-DEVICE-MAP =====
fcstat device_map
echo ===== STORAGE-DISK =====
storage show disk -a
echo ===== STORAGE-DISK-P =====
storage show disk -p
echo ===== RC =====
rdfile /etc/rc
echo ===== HOSTS =====
rdfile /etc/hosts
echo ===== EXPORTS =====
rdfile /etc/exports
echo ===== EXPORTFS =====
exportfs
echo ===== SOFTWARE-LICENSES =====
license
echo ===== CSTATUS =====
cf status
echo ===== CPARTNER =====
cf partner
echo ===== HOSTNAME =====
hostname
echo ===== FCP-CFMODE =====
fcp show cfmode
echo ===== IFCONFIG-A =====
ifconfig -a
echo ===== DF =====
df
echo ===== DF-A =====
df -A
echo ===== SNAP-LIST-N =====
snap list -n
echo ===== OPTIONS =====
options
echo ===== VOL-STATUS-V =====
vol status -v
echo ===== LUN-CONFIGURATION =====
lun show -v
echo ===== STORAGE-ACP =====
storage show acp -a
echo ===== ENVIRONMENT =====
environment status
echo ===== RLM =====
rlm status
echo ===== SP =====
sp status
echo ===== BMC =====
bmc status
echo ===== CF-MONITOR =====
cf monitor all
echo ===== INITIATOR-GROUPS =====
igroup show
echo ===== LUN-SHOW-M =====
lun show -m
echo ===== SIS-STATUS =====
sis status
echo ===== DATE =====
date
echo ===== SNAPMIRROR-STATUS =====
snapmirror status
echo ===== SNAPVAULT-STATUS =====
snapvault status
echo ===== AGGR-STATUS-V =====
aggr status -v

No comments:

Post a Comment