Upgrade controllers from AFF A700/FAS9000 to AFF A900/FAS9500 in a MetroCluster FC configuration using switchover and switchback (ONTAP 9.10.1 or later)
You can use the MetroCluster switchover operation to provide nondisruptive service to clients while the controller modules on the partner cluster are upgraded. You cannot upgrade other components (such as storage shelves or switches) as part of this procedure.
-
You can use this procedure only for controller upgrade.
You cannot upgrade other components in the configuration, such as storage shelves or switches, at the same time.
-
You can use this procedure to upgrade an AFF A700 to AFF A900 with ONTAP 9.10.1 and later.
-
You can use this procedure to upgrade a FAS9000 to FAS9500 with ONTAP 9.10.1P3 and later.
-
Four and eight-node configurations are supported in ONTAP 9.10.1 and later.
The AFF A900 system is only supported in ONTAP 9.10.1 or later.
-
-
All controllers in the configuration should be upgraded during the same maintenance period.
The following table shows the supported model matrix for the controller upgrade.
Old platform model
New platform model
-
AFF A700
-
AFF A900
-
FAS9000
-
FAS9500
-
-
During the upgrade procedure, you are required to change the MetroCluster fabric, including the RCF and physical changes of cabling. You can perform the RCF and cabling changes before performing the controller upgrade.
-
This upgrade procedure does not require you do not change the storage, FC, and Ethernet connections between the original nodes and the new nodes.
-
During the upgrade procedure, you should not add or remove other cards from the AFF A700 or FAS9000 system. For more information, see the NetApp Hardware Universe
The following example names are used in examples and graphics in this procedure:
-
site_A
-
Before upgrade:
-
node_A_1-A700
-
node_A_2-A700
-
-
After upgrade:
-
node_A_1-A900
-
node_A_2-A900
-
-
-
site_B
-
Before upgrade:
-
node_B_1-A700
-
node_B_2-A700
-
-
After upgrade:
-
node_B_1-A900
-
node_B_2-A900
-
-
Enable console logging
NetApp strongly recommends that you enable console logging on the devices that you are using and take the following actions when performing this procedure:
-
Leave AutoSupport enabled during maintenance.
-
Trigger a maintenance AutoSupport message before and after maintenance to disable case creation for the duration of the maintenance activity.
See the Knowledge Base article How to suppress automatic case creation during scheduled maintenance windows.
-
Enable session logging for any CLI session. For instructions on how to enable session logging, review the "Logging Session Output" section in the Knowledge Base article How to configure PuTTY for optimal connectivity to ONTAP systems.
Prepare for the upgrade
Before making any changes to the existing MetroCluster configuration, you must check the health of the configuration, change the RCF files and cabling to match to new port connectivity topology required for the AFF A900 or FAS9000 fabric MetroCluster configuration, and perform other miscellaneous tasks.
Clear slot 7 on the AFF A700 controller
The MetroCluster configuration on an AFF A900 or FAS9500 requires 8 FC-VI ports across FC-VI cards in slots 5 and 7. Before starting the upgrade, if there are cards in slot 7 on the AFF A700 or FAS9000, you must move them to other slots for all the nodes of the cluster.
Verify the health of the MetroCluster configuration
Before you update the RCF files and cabling for the AFF A900 or FAS9500 fabric MetroCluster configuration, you must verify the health and connectivity of the configuration.
|
|
After you upgrade the controllers at the first site and before you upgrade the second, running metrocluster check run followed by metrocluster check show returns an error in the config-replication field. This error indicates an NVRAM size mismatch between the nodes at each site and it's the expected behavior when there are different platform models on both sites. You can ignore the error until the controller upgrade is completed for all nodes in the DR group.
|
-
Verify the operation of the MetroCluster configuration in ONTAP:
-
Check whether the nodes are multipathed:
node run -node node-name sysconfig -aYou should issue this command for each node in the MetroCluster configuration.
-
Verify that there are no broken disks in the configuration:
storage disk show -brokenYou should issue this command on each node in the MetroCluster configuration.
-
Check for any health alerts:
system health alert showYou should issue this command on each cluster.
-
Verify the licenses on the clusters:
system license showYou should issue this command on each cluster.
-
Verify the devices connected to the nodes:
network device-discovery showYou should issue this command on each cluster.
-
Verify that the time zone and time are set correctly on both sites:
cluster date showYou should issue this command on each cluster. You can use the
cluster datecommands to configure the time and time zone.
-
-
Check for any health alerts on the switches (if present):
storage switch showYou should issue this command on each cluster.
-
Confirm the operational mode of the MetroCluster configuration and perform a MetroCluster check.
-
Confirm the MetroCluster configuration and that the operational mode is normal:
metrocluster show -
Confirm that all expected nodes are shown:
metrocluster node show -
Issue the following command:
metrocluster check run -
Display the results of the MetroCluster check:
metrocluster check show
-
-
Check the MetroCluster cabling with the Config Advisor tool.
-
Download and run Config Advisor.
-
After running Config Advisor, review the tool's output and follow the recommendations in the output to address any issues discovered.
-
Update the fabric switch RCF files
The AFF A900 or FAS9500 fabric MetroCluster requires two four-port FC-VI adapters per node compared to a single four-port FC-VI adapter required by an AFF A700. Before you start the controller upgrade to the AFF A900 or FAS9500 controller, you must modify the fabric switch RCF files to support the AFF A900 or FAS9500 connection topology.
-
From the MetroCluster RCF file download page, download the correct RCF file for an AFF A900 or FAS9500 fabric MetroCluster and the switch model that is in use on the AFF A700 or FAS9000 configuration.
-
Update the RCF file on the fabric A switches, switch A1, and switch B1 by following the steps in Configuring the FC switches.
The RCF file update to support the AFF A900 or FAS9500 fabric MetroCluster configuration does not affect the port and connections used for the AFF A700 or FAS9000 fabric MetroCluster configuration. -
After updating the RCF files on the fabric A switches, all storage and FC-VI connections should come online. Check the FC-VI connections:
metrocluster interconnect mirror show-
Verify that the local and remote site disks are listed in the
sysconfigoutput.
-
-
You must verify that MetroCluster is in a healthy state after the RCF file update for fabric A switches.
-
Check metro cluster connections:
metrocluster interconnect mirror show -
Run metrocluster check:
metrocluster check run -
See the MetroCluster run results when the run completes:
metrocluster check show
-
-
Update the fabric B switches (switches 2 and 4) by repeating Step 2 to Step 5.
Verify the health of the MetroCluster configuration after the RCF file update
You must verify the health and connectivity of the MetroCluster configuration before performing the upgrade.
-
Verify the operation of the MetroCluster configuration in ONTAP:
-
Check whether the nodes are multipathed:
node run -node node-name sysconfig -aYou should issue this command for each node in the MetroCluster configuration.
-
Verify that there are no broken disks in the configuration:
storage disk show -brokenYou should issue this command on each node in the MetroCluster configuration.
-
Check for any health alerts:
system health alert showYou should issue this command on each cluster.
-
Verify the licenses on the clusters:
system license showYou should issue this command on each cluster.
-
Verify the devices connected to the nodes:
network device-discovery showYou should issue this command on each cluster.
-
Verify that the time zone and time are set correctly on both sites:
cluster date showYou should issue this command on each cluster. You can use the
cluster datecommands to configure the time and time zone.
-
-
Check for any health alerts on the switches (if present):
storage switch showYou should issue this command on each cluster.
-
Confirm the operational mode of the MetroCluster configuration and perform a MetroCluster check.
-
Confirm the MetroCluster configuration and that the operational mode is normal:
metrocluster show -
Confirm that all expected nodes are shown:
metrocluster node show -
Issue the following command:
metrocluster check run -
Display the results of the MetroCluster check:
metrocluster check show
-
-
Check the MetroCluster cabling with the Config Advisor tool.
-
Download and run Config Advisor.
-
After running Config Advisor, review the tool's output and follow the recommendations in the output to address any issues discovered.
-
Map ports from the AFF A700 or FAS9000 nodes to the AFF A900 or FAS9500 nodes
During the controller upgrade process, you must only change the connections that are mentioned in this procedure.
If the AFF A700 or FAS9000 controllers have a card in slot 7, you should move it to another slot before starting the controller upgrade procedure. You must have slot 7 available for the addition of the second FC-VI adapter that is required for the functioning of fabric MetroCluster on the AFF A900 or FAS9500 controllers.
Gather information before the upgrade
Before upgrading, you must gather information for each of the old nodes, and, if necessary, adjust the network broadcast domains, remove any VLANs and interface groups, and gather encryption information.
This task is performed on the existing MetroCluster FC configuration.
-
Gather the MetroCluster configuration node system IDs:
metrocluster node show -fields node-systemid,dr-partner-systemidDuring the upgrade procedure, you will replace these old system IDs with the system IDs of the controller modules.
In this example for a four-node MetroCluster FC configuration, the following old system IDs are retrieved:
-
node_A_1-A700: 537037649
-
node_A_2-A700: 537407030
-
node_B_1-A700: 0537407114
-
node_B_2-A700: 537035354
Cluster_A::*> metrocluster node show -fields node-systemid,ha-partner-systemid,dr-partner-systemid,dr-auxiliary-systemid dr-group-id cluster node node-systemid ha-partner-systemid dr-partner-systemid dr-auxiliary-systemid ----------- ------------------------- ------------- ------------------- ------------------- --------------------- 1 Cluster_A nodeA_1-A700 537407114 537035354 537411005 537410611 1 Cluster_A nodeA_2-A700 537035354 537407114 537410611 537411005 1 Cluster_B nodeB_1-A700 537410611 537411005 537035354 537407114 1 Cluster_B nodeB_2-A700 537411005 4 entries were displayed.
-
-
Gather port and LIF information for each old node.
You should gather the output of the following commands for each node:
-
network interface show -role cluster,node-mgmt -
network port show -node node-name -type physical -
network port vlan show -node node-name -
network port ifgrp show -node node_name -instance -
network port broadcast-domain show -
network port reachability show -detail -
network ipspace show -
volume show -
storage aggregate show -
system node run -node node-name sysconfig -a
-
-
If the MetroCluster nodes are in a SAN configuration, collect the relevant information.
You should gather the output of the following commands:
-
fcp adapter show -instance -
fcp interface show -instance -
iscsi interface show -
ucadmin show
-
-
If the MetroCluster nodes are configured with an external key manager for the admin SVM (cluster), copy the key server information to a secure location. If the Onboard Key Manager is configured, copy the backup information and passphrase to a secure location.
Onboard Key Manager-
Run the following command to display the Onboard Key Manager backup:
security key-manager onboard show-backupYou'll also need the most up-to-date Onboard Key Manager passphrase later in the upgrade procedure.
For additional information, see Back up onboard key management information manually.
External key managerGather the external key management information that you'll need to restore the key manager configuration later in the procedure.
-
Display the name of the admin SVM (cluster).
vserver show -type adminIn this example, the admin SVM name is cluster_B:
cluster_B::*> vserver show -type admin Admin Operational Root Vserver Type Subtype State State Volume Aggregate ----------- ------- ---------- ---------- ----------- ---------- ---------- cluster_B admin - - - - - -
Obtain the address and port number of a primary key server associated with the external key manager configured on the admin SVM (cluster):
-
The admin SVM can have up to four primary key servers but you'll only need the port number and address of one of the primary key servers to restore the key management configuration later in the procedure.
-
If there is a username and password associated with the primary key server you choose, you'll also need that information for the recovery process.
security key-manager external show -instance -vserver <admin_svm_name>cluster_B::> security key-manager external show -instance -vserver cluster_B Vserver: cluster_B Client Certificate: NTAPKM_C Server CA Certificates: NTAPKM_I, NTAPKM_R Primary Key Server: 172.18.27.34:12014 Timeout: 25 Username: Policy name: - Secondary Key Servers: - Create/Remove Timeout: 10 -
-
If you are running ONTAP 9.16.1 or later, obtain the keystore UUID for the admin SVM.
security key-manager show-key-store -vserver <admin_svm_name> -fields uuidcluster_B::*> security key-manager show-key-store -vserver cluster_B -fields uuid vserver uuid --------------- ------------------------------------ cluster_B f281aa55-d635-11f0-93bc-005056bb68f2 cluster_B::*
-
Save the information you gathered in a secure location for use later in the procedure. You should now have gathered the following information:
-
The port number and address of one of the primary key servers for the admin SVM
-
The user name and password if one is associated with the chosen primary key server
-
The keystore UUID for the admin SVM (required in ONTAP 9.16.1 or later)
-
-
Remove the existing configuration from the Tiebreaker or other monitoring software
If the existing configuration is monitored with the MetroCluster Tiebreaker configuration or other third-party applications (for example, ClusterLion) that can initiate a switchover, you must remove the MetroCluster configuration from the Tiebreaker or other software prior to transition.
-
Remove the existing MetroCluster configuration from the Tiebreaker software.
-
Remove the existing MetroCluster configuration from any third-party application that can initiate switchover.
Refer to the documentation for the application.
Send a custom AutoSupport message prior to maintenance
Before performing the maintenance, you should issue an AutoSupport message to notify NetApp technical support that maintenance is underway. Informing technical support that maintenance is underway prevents them from opening a case on the assumption that a disruption has occurred.
This task must be performed on each MetroCluster site.
-
To prevent automatic support case generation, send an Autosupport message to indicate maintenance is underway.
-
Issue the following command:
system node autosupport invoke -node * -type all -message MAINT=maintenance-window-in-hoursmaintenance-window-in-hoursspecifies the length of the maintenance window, with a maximum of 72 hours. If the maintenance is completed before the time has elapsed, you can invoke an AutoSupport message indicating the end of the maintenance period:system node autosupport invoke -node * -type all -message MAINT=end -
Repeat the command on the partner cluster.
-
Switch over the MetroCluster configuration
You must switch over the configuration to site_A so that the platforms on site_B can be upgraded.
This task must be performed on site_A.
After completing this task, site_A is active and serving data for both sites. Site_B is inactive, and ready to begin the upgrade process, as shown in the following illustration. (This illustration also applies to upgrading a FAS9000 to a FAS9500 controller.)
-
Switch over the MetroCluster configuration to site_A so that site_B's nodes can be upgraded:
-
Issue the following command on site_A:
metrocluster switchover -controller-replacement trueThe operation can take several minutes to complete.
-
Monitor the switchover operation:
metrocluster operation show -
After the operation is complete, confirm that the nodes are in switchover state:
metrocluster show -
Check the status of the MetroCluster nodes:
metrocluster node show
-
-
Heal the data aggregates.
-
Heal the data aggregates:
metrocluster heal data-aggregates -
Confirm the heal operation is complete by running the
metrocluster operation showcommand on the healthy cluster:cluster_A::> metrocluster operation show Operation: heal-aggregates State: successful Start Time: 7/29/2020 20:54:41 End Time: 7/29/2020 20:54:42 Errors: -
-
-
Heal the root aggregates.
-
Heal the data aggregates:
metrocluster heal root-aggregates -
Confirm the heal operation is complete by running the
metrocluster operation showcommand on the healthy cluster:cluster_A::> metrocluster operation show Operation: heal-root-aggregates State: successful Start Time: 7/29/2020 20:58:41 End Time: 7/29/2020 20:59:42 Errors: -
-
Remove the AFF A700 or FAS9000 controller module and NVS at site_B
You must remove the old controllers from the configuration.
You perform this task on site_B.
If you are not already grounded, properly ground yourself.
-
Connect to the serial console of the old controllers (node_B_1-700 and node_B_2-700) at site_B and verify it is displaying the
LOADERprompt. -
Gather the bootarg values from both nodes at site_B:
printenv -
Power off the chassis at site_B.
Remove the controller module and NVS from both nodes at site_B
Remove the AFF A700 or FAS9000 controller module
Use the following procedure to remove the AFF A700 or FAS9000 controller module.
-
Detach the console cable, if any, and the management cable from the controller module before removing the controller module.
-
Unlock and remove the controller module from the chassis.
-
Slide the orange button on the cam handle downward until it unlocks.


Cam handle release button

Cam handle
-
Rotate the cam handle so that it completely disengages the controller module from the chassis, and then slide the controller module out of the chassis. Make sure that you support the bottom of the controller module as you slide it out of the chassis.
-
Remove the AFF A700 or FAS9000 NVS module
Use the following procedure to remove the AFF A700 or FAS9000 NVS module.
|
|
The AFF A700 or FAS9000 NVS module is in slot 6 and is double the height compared to the other modules in the system. |
-
Unlock and remove the NVS from slot 6.
-
Depress the lettered and numbered cam button. The cam button moves away from the chassis.
-
Rotate the cam latch down until it is in a horizontal position. The NVS disengages from the chassis and moves a few inches.
-
Remove the NVS from the chassis by pulling on the pull tabs on the sides of the module face.


Lettered and numbered I/O cam latch

I/O latch completely unlocked
-
|
|
|
Install the AFF A900 or FAS9500 NVS and controller module
You must install the AFF A900 or FAS9500 NVS and controller module from the upgrade kit on both nodes at Site_B. Do not move the coredump device from the AFF A700 or FAS9000 NVS module to the AFF A900 or FAS9500 NVS module.
If you are not already grounded, properly ground yourself.
Install the AFF A900 or FAS9500 NVS
Use the following procedure to install the AFF A900 or FAS9500 NVS in slot 6 of both nodes at site_B
-
Align the NVS with the edges of the chassis opening in slot 6.
-
Gently slide the NVS into the slot until the lettered and numbered I/O cam latch begins to engage with the I/O cam pin, and then push the I/O cam latch all the way up to lock the NVS in place.


Lettered and numbered I/O cam latch

I/O latch completely unlocked
Install the AFF A900 or FAS9500 controller module
Use the following procedure to install the AFF A900 or FAS9500 controller module.
-
Align the end of the controller module with the opening in the chassis, and then gently push the controller module halfway into the system.
-
Firmly push the controller module into the chassis until it meets the midplane and is fully seated. The locking latch rises when the controller module is fully seated.
Do not use excessive force when sliding the controller module into the chassis to avoid damaging the connectors. -
Cable the management and console ports to the controller module.


Cam handle release button

Cam handle
-
Install the second X91129A card in slot 7 of each node.
-
Connect FC-VI ports from slot 7 to the switches. Refer to the Fabric-attached installation and configuration documentation and go to the AFF A900 or FAS9500 fabric MetroCluster connection requirements for the type of switch in your environment.
-
-
Power ON the chassis and connect to the serial console.
-
After BIOS initialization, if the node starts to autoboot, interrupt the AUTOBOOT by pressing Control-C.
-
After you interrupt the autoboot, the nodes stop at the LOADER prompt. If you do not interrupt autoboot on time and node1 starts booting, wait for the prompt to press Control-C to go into the boot menu. After the node stops at the boot menu, use option 8 to reboot the node and interrupt the autoboot during the reboot.
-
At the
LOADERprompt, set the default environment variables:set-defaults -
Save the default environment variables settings:
saveenv
Netboot the nodes at site_B
After swapping the AFF A900 or FAS9500 controller module and NVS, you need to netboot the AFF A900 or FAS9500 nodes and install the same ONTAP version and patch level that is running on the cluster. The term netboot means you are booting from an ONTAP image stored on a remote server. When preparing for netboot, you must add a copy of the ONTAP 9 boot image onto a web server that the system can access.
It is not possible to check the ONTAP version installed on the boot media of an AFF A900 or FAS9500 controller module unless it is installed in a chassis and powered ON. The ONTAP version on the AFF A900 or FAS9500 boot media must be same as the ONTAP version running on the AFF A700 or FAS9000 system that is being upgraded and both the primary and backup boot images should match. You can configure the images by performing a netboot followed by the wipeconfig command from the boot menu. If the controller module was previously used in another cluster, the wipeconfig command clears any residual configuration on the boot media.
-
Verify that you can access an HTTP server with the system.
-
You need to download the necessary system files for your system and the correct version of ONTAP from the NetApp Support site. About this task You must
netbootthe new controllers if the version of ONTAP installed is not the same as the version installed on the original controllers. After you install each new controller, you boot the system from the ONTAP 9 image stored on the web server. You can then download the correct files to the boot media device for subsequent system boots.
-
Access NetApp Support to download the files required to perform a system netboot used for performing the netboot of the system.
-
Download the appropriate ONTAP software from the software download section of the NetApp Support Site and store the
<ontap_version>_image.tgzfile on a web-accessible directory. -
Change to the web-accessible directory and verify that the files you need are available. Your directory listing should contain
<ontap_version>_image.tgz. -
Configure the
netbootconnection by choosing one of the following actions. Note: You should use the management port and IP as thenetbootconnection. Do not use a data LIF IP or a data outage might occur while the upgrade is being performed.If Dynamic Host Configuration Protocol (DHCP) is…
Then…
Running
Configure the connection automatically by using the following command at the boot environment prompt:
ifconfig e0M -autoNot running
Manually configure the connection by using the following command at the boot environment prompt:
ifconfig e0M -addr=<filer_addr> -mask=<netmask> -gw=<gateway> - dns=<dns_addr> domain=<dns_domain><filer_addr>is the IP address of the storage system.<netmask>is the network mask of the storage system.<gateway>is the gateway for the storage system.<dns_addr>is the IP address of a name server on your network. This parameter is optional.<dns_domain>is the Domain Name Service (DNS) domain name. This parameter is optional.NOTE: Other parameters might be necessary for your interface. Enter help ifconfig at the firmware prompt for details.
-
Perform
netbooton node 1:netboot http://<web_server_ip/path_to_web_accessible_directory>/netboot/kernelThe<path_to_the_web-accessible_directory>should lead to where you downloaded the<ontap_version>_image.tgzin Step 2.Do not interrupt the boot. -
Wait for node 1 that is running on the AFF A900 or FAS9500 controller module to boot and display the boot menu options as shown below:
Please choose one of the following: (1) Normal Boot. (2) Boot without /etc/rc. (3) Change password. (4) Clean configuration and initialize all disks. (5) Maintenance mode boot. (6) Update flash from backup config. (7) Install new software first. (8) Reboot node. (9) Configure Advanced Drive Partitioning. (10) Set Onboard Key Manager recovery secrets. (11) Configure node for external key management. Selection (1-11)?
-
From the boot menu, select option
(7) Install new software first. This menu option downloads and installs the new ONTAP image to the boot device.Disregard the following message: This procedure is not supported for Non-Disruptive Upgrade on an HA pair.This note applies to nondisruptive ONTAP software upgrades, and not controller upgrades. Always use netboot to update the new node to the desired image. If you use another method to install the image on the new controller, the wrong incorrect image might install. This issue applies to all ONTAP releases. -
If you are prompted to continue the procedure, enter
y, and when prompted for the package, enter the URL:http://<web_server_ip/path_to_web-accessible_directory>/<ontap_version>_image.tgz -
Complete the following substeps to reboot the controller module:
-
Enter
nto skip the backup recovery when you see the following prompt:Do you want to restore the backup configuration now? {y|n} n -
Enter
yto reboot when you see the following prompt:The node must be rebooted to start using the newly installed software. Do you want to reboot now? {y|n} yThe controller module reboots but stops at the boot menu because the boot device was reformatted, and the configuration data needs to be restored.
You must reboot the node in order to use the newly installed software.
-
-
At the prompt, run the
wipeconfigcommand to clear any previous configuration on the boot media:-
When you see the message below, answer
yes:This will delete critical system configuration, including cluster membership. Warning: do not run this option on a HA node that has been taken over. Are you sure you want to continue?: -
The node reboots to finish the
wipeconfigand then stops at the boot menu.
-
-
Select option
5to go to maintenance mode from the boot menu. Answeryesto the prompts until the node stops at maintenance mode and the command prompt*>.
Restore the HBA configuration
Depending on the presence and configuration of HBA cards in the controller module, you need to configure them correctly for your site's usage.
-
In Maintenance mode configure the settings for any HBAs in the system:
-
Check the current settings of the ports:
ucadmin show -
Update the port settings as needed.
If you have this type of HBA and desired mode…
Use this command…
CNA FC
ucadmin modify -m fc -t initiator adapter-nameCNA Ethernet
ucadmin modify -mode cna adapter-nameFC target
fcadmin config -t target adapter-nameFC initiator
fcadmin config -t initiator adapter-name -
Set the HA state on the new controllers and chassis
You must verify the HA state of the controllers and chassis, and, if necessary, update the state to match your system configuration.
-
In Maintenance mode, display the HA state of the controller module and chassis:
ha-config showThe HA state for all components should be mcc.
-
If the displayed system state of the controller or chassis is not correct, set the HA state:
ha-config modify controller mccha-config modify chassis mcc -
Halt the node:
haltThe node should stop at theLOADER>prompt. -
On each node, check the system date, time, and time zone:
Show date -
If necessary, set the date in UTC or Greenwich Mean Time (GMT):
set date <mm/dd/yyyy> -
Check the time by using the following command at the boot environment prompt:
show time -
If necessary, set the time in UTC or GMT:
set time <hh:mm:ss> -
Save the settings:
saveenv -
Gather environment variables:
printenv -
Boot the node back into Maintenance mode to enable the configuration changes to take effect:
boot_ontap maint -
Verify the changes you made are effective and ucadmin shows FC initiator ports online.
If you have this type of HBA…
Use this command…
CNA
ucadmin showFC
fcadmin show -
Verify the ha-config mode:
ha-config show-
Verify that you have the following output:
*> ha-config show Chassis HA configuration: mcc Controller HA configuration: mcc
-
Set the HA state on the new controllers and chassis
You must verify the HA state of the controllers and chassis, and, if necessary, update the state to match your system configuration.
-
In Maintenance mode, display the HA state of the controller module and chassis:
ha-config showThe HA state for all components should be mcc.
If the MetroCluster configuration has…
The HA state should be…
Two nodes
mcc-2n
Four or eight nodes
mcc
-
If the displayed system state of the controller is not correct, set the HA state for the controller module and chassis:
If the MetroCluster configuration has…
Issue these commands…
Two nodes
ha-config modify controller mcc-2nha-config modify chassis mcc-2nFour or eight nodes
ha-config modify controller mccha-config modify chassis mcc
Reassign root aggregate disks
Reassign the root aggregate disks to the new controller module, using the sysids gathered earlier
This task is performed in Maintenance mode.
The old system IDs were identified in Gathering information before the upgrade.
The examples in this procedure use controllers with the following system IDs:
Node |
Old system ID |
New system ID |
|---|---|---|
node_B_1 |
4068741254 |
1574774970 |
-
Cable all other connections to the new controller modules (FC-VI, storage, cluster interconnect, etc.).
-
Halt the system and boot to Maintenance mode from the
LOADERprompt:boot_ontap maint -
Display the disks owned by node_B_1-A700:
disk show -aThe example output shows the system ID of the new controller module (1574774970). However, the root aggregate disks are still owned by the old system ID (4068741254). This example does not show drives owned by other nodes in the MetroCluster configuration.
*> disk show -a Local System ID: 1574774970 DISK OWNER POOL SERIAL NUMBER HOME DR HOME ------------ ------------- ----- ------------- ------------- ------------- ... rr18:9.126L44 node_B_1-A700(4068741254) Pool1 PZHYN0MD node_B_1-A700(4068741254) node_B_1-A700(4068741254) rr18:9.126L49 node_B_1-A700(4068741254) Pool1 PPG3J5HA node_B_1-A700(4068741254) node_B_1-A700(4068741254) rr18:8.126L21 node_B_1-A700(4068741254) Pool1 PZHTDSZD node_B_1-A700(4068741254) node_B_1-A700(4068741254) rr18:8.126L2 node_B_1-A700(4068741254) Pool0 S0M1J2CF node_B_1-A700(4068741254) node_B_1-A700(4068741254) rr18:8.126L3 node_B_1-A700(4068741254) Pool0 S0M0CQM5 node_B_1-A700(4068741254) node_B_1-A700(4068741254) rr18:9.126L27 node_B_1-A700(4068741254) Pool0 S0M1PSDW node_B_1-A700(4068741254) node_B_1-A700(4068741254) ...
-
Reassign the root aggregate disks on the drive shelves to the new controller:
disk reassign -s old-sysid -d new-sysidThe following example shows reassignment of drives:
*> disk reassign -s 4068741254 -d 1574774970 Partner node must not be in Takeover mode during disk reassignment from maintenance mode. Serious problems could result!! Do not proceed with reassignment if the partner is in takeover mode. Abort reassignment (y/n)? n After the node becomes operational, you must perform a takeover and giveback of the HA partner node to ensure disk reassignment is successful. Do you want to continue (y/n)? Jul 14 19:23:49 [localhost:config.bridge.extra.port:error]: Both FC ports of FC-to-SAS bridge rtp-fc02-41-rr18:9.126L0 S/N [FB7500N107692] are attached to this controller. y Disk ownership will be updated on all disks previously belonging to Filer with sysid 4068741254. Do you want to continue (y/n)? y
-
Check that all disks are reassigned as expected:
disk show*> disk show Local System ID: 1574774970 DISK OWNER POOL SERIAL NUMBER HOME DR HOME ------------ ------------- ----- ------------- ------------- ------------- rr18:8.126L18 node_B_1-A900(1574774970) Pool1 PZHYN0MD node_B_1-A900(1574774970) node_B_1-A900(1574774970) rr18:9.126L49 node_B_1-A900(1574774970) Pool1 PPG3J5HA node_B_1-A900(1574774970) node_B_1-A900(1574774970) rr18:8.126L21 node_B_1-A900(1574774970) Pool1 PZHTDSZD node_B_1-A900(1574774970) node_B_1-A900(1574774970) rr18:8.126L2 node_B_1-A900(1574774970) Pool0 S0M1J2CF node_B_1-A900(1574774970) node_B_1-A900(1574774970) rr18:9.126L29 node_B_1-A900(1574774970) Pool0 S0M0CQM5 node_B_1-A900(1574774970) node_B_1-A900(1574774970) rr18:8.126L1 node_B_1-A900(1574774970) Pool0 S0M1PSDW node_B_1-A900(1574774970) node_B_1-A900(1574774970) *>
-
Display the aggregate status:
aggr status*> aggr status Aggr State Status Options aggr0_node_b_1-root online raid_dp, aggr root, nosnap=on, mirrored mirror_resync_priority=high(fixed) fast zeroed 64-bit -
Repeat the above steps on the partner node (node_B_2-A900).
Boot up the new controllers
You must reboot the controllers from the boot menu to update the controller flash image. Additional steps are required if encryption is configured.
This task must be performed on all the new controllers.
-
Halt the node:
halt -
If external key manager is configured, set the related bootargs:
setenv bootarg.kmip.init.ipaddr ip-addresssetenv bootarg.kmip.init.netmask netmasksetenv bootarg.kmip.init.gateway gateway-addresssetenv bootarg.kmip.init.interface interface-id -
Display the boot menu:
boot_ontap menu -
If the admin SVM of the MetroCluster system is configured with a key manager, select the correct boot menu option for your key management configuration.
If you are using…
Select this boot menu option…
Onboard key management
Option
10Follow the prompts to provide the following inputs to recover and restore the key manager configuration:
-
The Onboard Key Manager backup and passphrase
External key management
Option
11Follow the prompts to provide the following inputs to recover and restore the key manager configuration:
-
The port number and address of one of the primary key servers for the admin SVM
-
The username and password if one is associated with the chosen primary key server
-
The keystore UUID for the admin SVM (required in ONTAP 9.16.1 or later)
Note: Although the admin SVM can have up to four primary key servers, only information for one primary key server can be specified during the recovery process.
-
-
If autoboot is enabled, interrupt autoboot by pressing control-C.
-
From the boot menu, run option (6).
Option 6 will reboot the node twice before completing. Respond
yto the system id change prompts. Wait for the second reboot messages:Successfully restored env file from boot media... Rebooting to load the restored env file...
-
Double-check that the partner-sysid is correct:
printenv partner-sysidIf the partner-sysid is not correct, set it:
setenv partner-sysid partner-sysID -
If root encryption is used, issue the boot menu command again for your key management configuration.
If you are using…
Select this boot menu option…
Onboard key management
Option
10Follow the prompts to provide the following inputs to recover and restore the key manager configuration:
-
The Onboard Key Manager backup and passphrase
External key management
Option
11Follow the prompts to provide the following inputs to recover and restore the key manager configuration:
-
The port number and address of one of the primary key servers for the admin SVM
-
The username and password if one is associated with the chosen primary key server
-
The keystore UUID for the admin SVM (required in ONTAP 9.16.1 or later)
Note: Although the admin SVM can have up to four primary key servers, only information for one primary key server can be specified during the recovery process.
You might need to issue the
recover_xxxxxxxx_keymanagercommand at the boot menu prompt multiple times until the nodes completely boot. -
-
Boot the nodes:
boot_ontap -
Wait for the replaced nodes to boot up.
If either node is in takeover mode, perform a giveback using the
storage failover givebackcommand. -
Verify that all ports are in a broadcast domain:
-
View the broadcast domains:
network port broadcast-domain show -
Add any ports to a broadcast domain as needed.
-
Add the physical port that will host the intercluster LIFs to the corresponding Broadcast domain.
-
Modify intercluster LIFs to use the new physical port as home port.
-
After the intercluster LIFs are up, check the cluster peer status and re-establish cluster peering as needed.
You may need to reconfigure cluster peering.
-
Recreate VLANs and interface groups as needed.
VLAN and interface group membership might be different than that of the old node.
-
-
If encryption is used, restore the keys using the correct command for your key management configuration.
If you are using…
Use this command…
Onboard key management
security key-manager onboard syncFor more information, see Restoring onboard key management encryption keys.
External key management
security key-manager external restore -vserver <admin-svm> -key-server <host_name|IP_address:port>For more information, see Restoring external key management encryption keys.
Verify LIF configuration
Verify that LIFs are hosted on appropriate node/ports prior to switchback. The following steps need to be performed
This task is performed on site_B, where the nodes have been booted up with root aggregates.
-
Verify that LIFs are hosted on the appropriate node and ports prior to switchback.
-
Change to the advanced privilege level:
set -privilege advanced -
Override the port configuration to ensure proper LIF placement:
vserver config override -command "network interface modify" -vserver vserver_name -home-port active_port_after_upgrade -lif lif_name -home-node new_node_name"When entering the
network interface modifycommand within thevserver config overridecommand, you cannot use the tab autocomplete feature. You can create thenetwork interface modifyusing autocomplete and then enclose it in thevserver config overridecommand. -
Return to the admin privilege level:
set -privilege admin
-
-
Revert the interfaces to their home node:
network interface revert * -vserver vserver-namePerform this step on all SVMs as required.
Switch back the MetroCluster configuration
After the new controllers have been configured, you switch back the MetroCluster configuration to return the configuration to normal operation.
In this task, you will perform the switchback operation, returning the MetroCluster configuration to normal operation. The nodes on site_A are still awaiting upgrade as shown in the following illustration. (This illustration also applies to upgrading a FAS9000 to a FAS9500 controller).
-
Issue the
metrocluster node showcommand on site_B and check the output.-
Verify that the new nodes are represented correctly.
-
Verify that the new nodes are in "Waiting for switchback state."
-
-
Switchback the cluster:
metrocluster switchback -
Check the progress of the switchback operation:
metrocluster showThe switchback operation is still in progress when the output displays
waiting-for-switchback:cluster_B::> metrocluster show Cluster Entry Name State ------------------------- ------------------- ----------- Local: cluster_B Configuration state configured Mode switchover AUSO Failure Domain - Remote: cluster_A Configuration state configured Mode waiting-for-switchback AUSO Failure Domain -The switchback operation is complete when the output displays
normal:cluster_B::> metrocluster show Cluster Entry Name State ------------------------- ------------------- ----------- Local: cluster_B Configuration state configured Mode normal AUSO Failure Domain - Remote: cluster_A Configuration state configured Mode normal AUSO Failure Domain -If a switchback takes a long time to finish, you can check on the status of in-progress baselines by using the
metrocluster config-replication resync-status showcommand. This command is at the advanced privilege level.
Check the health of the MetroCluster configuration
After upgrading the controller modules you must verify the health of the MetroCluster configuration.
This task can be performed on any node in the MetroCluster configuration.
-
Verify the operation of the MetroCluster configuration:
-
Confirm the MetroCluster configuration and that the operational mode is normal:
metrocluster show -
Perform a MetroCluster check:
metrocluster check run -
Display the results of the MetroCluster check:
metrocluster check showAfter running the
metrocluster check runandmetrocluster check showcommands, you might see an error similar to the following example:Cluster_A:: node_A_1 (non-overridable veto): DR partner NVLog mirroring is not online. Make sure that the links between the two sites are healthy and properly configured.
This error occurs due to a controller mismatch during the upgrade process. You can safely ignore the error and proceed to upgrade the nodes on site_A.
-
Upgrade the nodes on site_A
You must repeat the upgrade tasks on site_A.
-
Repeat the steps to upgrade the nodes on site_A, beginning with Prepare for the upgrade.
As you perform the tasks, all example references to the sites and nodes are reversed. For example, when the example is given to switchover from site_A, you will switchover from Site_B.
Send a custom AutoSupport message after maintenance
After completing the upgrade, you should send an AutoSupport message indicating the end of maintenance, so automatic case creation can resume.
-
To resume automatic support case generation, send an Autosupport message to indicate that the maintenance is complete.
-
Issue the following command:
system node autosupport invoke -node * -type all -message MAINT=end -
Repeat the command on the partner cluster.
-
Restore Tiebreaker monitoring
If the MetroCluster configuration was previously configured for monitoring by the Tiebreaker software, you can restore the Tiebreaker connection.
-
Use the steps in: Adding MetroCluster configurations in the MetroCluster Tiebreaker Installation and Configuration section.