0% found this document useful (0 votes)
144 views

Command List For Data ONTAP Upgrades

This document provides a command list for upgrading the Data ONTAP software on two nodes (filer-01 and filer-02) from version 8.2.1 to 8.2.3P2. It includes commands to check system status, quiesce data transfers, migrate data LIFs, perform takeovers and givebacks, verify the upgrades, and resume data replication after completion.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
144 views

Command List For Data ONTAP Upgrades

This document provides a command list for upgrading the Data ONTAP software on two nodes (filer-01 and filer-02) from version 8.2.1 to 8.2.3P2. It includes commands to check system status, quiesce data transfers, migrate data LIFs, perform takeovers and givebacks, verify the upgrades, and resume data replication after completion.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

Command List for Data ONTAP Upgrades

filer-01: 8.2.1 -> 8.2.3P2


filer-02: 8.2.1 -> 8.2.3P2
6/17/2015
filer-01 & 02 combined upgrade procedure
---------------------------------------------------------------------node run -node <nodename> -command sysstat -c 10 -x 3
** Verify that cpu and disk util are below 50% before proceeding.**
<DOS> perfstat8 <cluster_mgmt_ip_address> -m c -t 4 -i 5 -z
**Collect pre-upgrade perfstat data**
set -privilege advanced
y
cluster ring show -unitname
cluster ring show -unitname
cluster ring show -unitname
cluster ring show -unitname
set -privilege admin
**Verify that all nodes and

vldb
mgmt
vifmgr
bcomd
rings are in their RDB Quorum**

cluster show
storage aggregate show -state !online
volume show -state !online
vserver show
**Verify that cluster nodes, aggregates, volumes, and SVMs are online.**
net int show
net int modify {-role data} -status-admin up
net int revert *
net int show
**If interfaces are down, or not on their home port, and the home port is availa
ble, online and/or revert before upgrade. **
net int show -role data -failover
**Verify failover group configuration**
system services ntp server show
system node date show
**Verify ntp and date config**
system node image show
**verify current version**
system node image update -node * -package <LOCATION> -replace-package true
system node image show-update-progress -node *
**Start download and install of OS, one node at a time. Display current status
of upgrade.**
snapmirror show
snapmirror quiesce -destination-path <DESTINATION_PATH>
snapmirror show -status !Quiesced
snapmirror abort -destination-path <DESTINATION_PATH> -h -foreground true
**Quiesce or Abort any active SnapMirror transfers, LSM requires the -foreground
true option**
job show
job delete *

job delete -id <JOB_ID>


job show
**Display and delete any active jobs**
system node image show
**Verifies image is installed.**
system image modify {-node * iscurrent false} -isdefault true
**set new image as default**
system node image show
**verify new image set as default.**
storage failover show
storage failover modify
**Verify storage failover is enabled, modify if necessary.**
cluster ha show
cluster ha modify
**verify cluster failover is enabled, modify if necessary.**
autosupport invoke -node * -type all -message "Starting NDU"
**Create pre-upgrade autosupport**
storage failover modify -node * -auto-giveback false
storage failover show -auto-giveback false
**Disable and verify that storage failover auto-giveback is disabled.**
network interface show
net int migrate -vserver <VSERVER_NAME> -lif <LIF_NAME> -source-node <NODE_NAME>
-destination-node <NODE_NAME>
net int migrate-all -node <NODE_NAME>
net int show
**Migrate LIFs off of the node to be upgraded first. If you are upgrading the n
ode with external connectivity, do not migrate that LIF ahead of time. If you a
re not upgrading the node with external connectivity, you can migrate-all.**
storage failover takeover -bynode <NODE_NAME>
strorage failover show
**Execute takeover, wait 8 minutes.**
**IF ROOT MOUNT BUG IS ENCOUNTERED SEE KB 7010107**
vserver services web modify -name spi -enabled false -vserver *
system node root-mount show
system node root-mount delete -node <NODE_NAME> -root-node <NODE_NAME>
**disable SPI web service adn remove partner's mroot mounts.**
storage failover giveback -ofnode <NODE_NAME>
vserver services web modify -name spi -enabled true -vserver *
storage failover show-giveback
storage aggregate show -node <NODE_NAME>
net int revert *
net int show
net port show
**Perform giveback, re-enable SPI Web Services, verify giveback and connectivity
.**
net int migrate-all -node <NODE_NAME>

autosupport invoke -node * -type all -message "Finishing NDU"


net int migrate -vserver <VSERVER_NAME> -lif <LIF_NAME> -source-node <NODE_NAME>
-destination-node <NODE_NAME>
net int show -data-protocol nfs|cifs -role data -curr-node <NODE_NAME>
**Migrate interfaces from B to A, if external connectivity interfaces are alread
y on A, migrate-all can be used.**
storage failover takeover -ofnode <NODE_NAME> -option allow-version-mismatch
storage failover show
** Performs takeover, show status, wait 8 minutes.**
storage failover giveback -ofnode <NODE_NAME>
storage failover show-giveback
storage aggregate show -node <NODE_NAME>
net int revert *
net int show
net port show
**Perform and verify giveback**
system node image show
storage failover modify -node <NODE_NAME> -auto-giveback true
cluster show
cluster ring show
set -privilege advanced
y
cluster ring show -unitname vldb
cluster ring show -unitname mgmt
cluster ring show -unitname vifmgr
cluster ring show -unitname bcomd
set -privilege admin
**Verify upgrade, restore auto-giveback, verify cluster status.**
storage disk show -state broken
storage disk show -state maintenance|pending|reconstructing
storage aggregate show -state !online
volume show -state !online
vserver nfs show
vserver cifs show
vserver fcp show
vserver iscsi show
net int show -status-oper down
net int show -is-home false
snapmirror resume
snapmirror show
**Check for broken disks, offline resources, and resumes snapmirror**

You might also like