7-Mode Disruptive Upgrade Crib Sheet

Some quick (but fairly thorough) notes on performing a disruptive upgrade of a HA-pair in Data ONTAP 7-Mode! Mostly we would be doing non-disruptive upgrades (NDU), there are occasions though where disruptive is used (e.g. head upgrade, after a site power down and taking the opportunity to upgrade systems …)

## REPEAT ALL THE BELOW ON BOTH CONTROLLERS ##

# Pre-downloading (but not installing) the Image File:

software get http://192.168.168.1/814_q_image.tgz

# NOTE: If you have CIFS enabled, map a drive to C$ and copy to /etc/software

# Disabling controller failover:

options autosupport.doit "START:Upgrade_to_814"
cf status
cf disable
cf status

# Pre-checks:

version
storage show disk -p
aggr status
vol status
vol status -f # check for failed disks
ifconfig -a

# Checking which services are enabled:

cifs sessions
fcp status
iscsi status
nfs status
ndmpd status

# Turn off services:

cifs terminate
fcp stop
iscsi stop
nfs off
ndmpd off

# Final snapmirror updates (if this is a source filer)

snapmirror status
snapmirror update dstfiler:dstpath
snapmirror status

# Turn off snapmirror

snapmirror off

# NOTE: snapmirror update is done on the destination
# NOTE: Use snapmirror quiesce (on the destination) if updates taking too long

# Backing up the config:

snap create vol0 pre_upgrade_814

# Additional options to backup the configuration:
# 1) Map a drive C$ and copy etc\host and etc\rc
# 2) ndmpcopy /vol/vol0 /vol/vol0backup
# 3) snapmirror vol0 to another box

# Update and then reboot (can reboot both at the same time)

software update 814_q_image.tgz
reboot

# …
# THE CONTROLLER(S) REBOOTS #
# …

# Post Checks:

version
storage show disk -p
aggr status
vol status
vol status -f
ifconfig -a

# Turn on services (if originally enabled):

cifs restart
fcp start
iscsi start
nfs on
ndmpd on
snapmirror on

# Re-enabling controller failover:

cf status
cf enable
cf status
options autosupport.doit "FINISH:Upgrade_to_814"

# Clean up the vol0 snapshot

snap list vol0
snap delete vol0 pre_upgrade_814

###########
# THE END #
###########

Comments