Professional Documents
Culture Documents
Clustered ONTAP Daily Health Checks Script
Clustered ONTAP Daily Health Checks Script
Clustered ONTAP Daily Health Checks Script
rows 0
set diag
y
###########################
## Analyze The Event Log ##
###########################
#############################
## Display Some Dashboards ##
#############################
####################
## Cluster Checks ##
####################
cluster show
storage failover show
## 2-Node Clusters
# cluster ha show
date
## CDOT 8.2+
# cluster date show
###############################################
## License Checks (not really a daily check) ##
###############################################
#################
## Node Checks ##
#################
###############################################
## NDMPD check for jobs running and snapshot ##
###############################################
ndmpd status -fields data-state,data-operation,mover-state,mover-mode
snapshot show -snapshot snapshot_for_backup.* -fields create-time
########################
## Autosupport checks ##
########################
###############################
## Aggregate and Disk Checks ##
###############################
###################
## Volume Checks ##
###################
#####################
## Snapshot Checks ##
#####################
## CDOT 8.2+
# vol show -snapshot-count 0
## CDOT 8.2+
# vol show -snapshot-count > 200
## CHANGE THE DATE - use http://www.timeanddate.com/date/dateadd.html
# vol snap show -create-time <"Wed Oct 09 00:00:00 2013" -fields state,size,create-
time,owners
vol snap show -snap !hourly.*,!weekly.*,!daily.*,!snapmirror.*,!*smvi*,!eloginfo*,!
exchsnap* -fields state,size,create-time,owners
####################
## Network Checks ##
####################
################
## SAN Checks ##
################
#######################
## SnapMirror Checks ##
#######################