Map network ports using ONTAP 9.7 or earlier
To enable node3 and node4 to communicate with each other in the cluster and with the network after the upgrade, you must confirm that the physical ports are correctly configured with the settings for the intended use, such as cluster, data, and so on.
These steps apply to systems running ONTAP 9.7 or earlier. If you are running ONTAP 9.8 or later, you must use the procedure in Map network ports using ONTAP 9.8 or later.
You must perform these steps on node3 and node4.
|The following command examples refer to "node1" because at this stage in the procedure the replacement nodes "node3" and "node4" are actually named "node1" and "node2".|
If your system is running ONTAP 9.8 or later, STOP. You must use the procedure in Map network ports using ONTAP 9.8 or later.
Locate the port and LIF configuration information for node1 and node2 that you recorded in Prepare for upgrade when moving storage, Step 3.
Locate the information for ports, broadcast domains, and IPspaces that you recorded in Prepare for upgrade when moving storage, Step 3.
Make the following changes:
Boot node3 and node4 to the cluster prompt if you have not already done so.
Add the correct ports to the
network port modify -node node_name -port port_name -mtu 9000 -ipspace Cluster
This example adds
Clusterport e1b on “node1”:
network port modify -node node1 -port e1b -ipspace Cluster -mtu 9000
Migrate the LIFs to the new ports, once for each LIF:
network interface migrate -vserver vserver_name -lif lif_name -source-node node1 -destination-node node1 -destination-port port_name
SAN data LIFs can be migrated only when they are offline.
Modify the home port of the Cluster LIFs:
network interface modify -vserver Cluster -lif lif_name –home-port port_name
Remove the old ports from the Cluster broadcast domain:
network port broadcast-domain remove-ports -ipspace Cluster -broadcast-domain Cluster -ports node1:port
Display the health state of node3 and node4:
cluster show -node node1 -fields health
Each cluster LIF must be listening on port 7700. Verify that the cluster LIFs are listening on port 7700:
::> network connections listening show -vserver Cluster
Port 7700 listening on cluster ports is the expected outcome as shown in the following example for a two-node cluster:
Cluster::> network connections listening show -vserver Cluster Vserver Name Interface Name:Local Port Protocol/Service ---------------- ---------------------------- ------------------- Node: NodeA Cluster NodeA_clus1:7700 TCP/ctlopcp Cluster NodeA_clus2:7700 TCP/ctlopcp Node: NodeB Cluster NodeB_clus1:7700 TCP/ctlopcp Cluster NodeB_clus2:7700 TCP/ctlopcp 4 entries were displayed.
If necessary, for each cluster LIF that is not listening on port 7700, set the administrative status of the LIF to
::> net int modify -vserver Cluster -lif cluster-lif -status-admin down; net int modify -vserver Cluster -lif cluster-lif -status-admin up
Repeat substep (g) to verify that the cluster LIF is now listening on port 7700.
Modify the VLAN and
ifgrp configto match the new controller physical port layout.
Delete the node1 and node2 ports that no longer exist on node3 and node4 (advanced privilege level):
network port delete -node node1 -port port_name
Display the home port of a LIF:
network interface show -fields home-node,home-port
Display the broadcast domain containing the port:
network port broadcast-domain show -ports node_name:port_name
Add or remove ports from broadcast domains as necessary:
network port broadcast-domain add-ports
network port broadcast-domain remove-ports
Modify a LIF’s home port if necessary:
network interface modify -vserver vserver_name -lif lif_name –home-port port_name
Adjust the intercluster broadcast domains and migrate the intercluster LIFs, if necessary, using the commands in Step 7.
Adjust any other broadcast domains and migrate the data LIFs, if necessary, using the commands in Step 7.
Adjust all the LIF failover groups:
network interface modify -failover-group failover_group -failover-policy failover_policy
The following command sets the failover policy to broadcast-domain-wide and uses the ports in failover group "fg1" as failover targets for LIF "data1" on "node1":
network interface modify -vserver node1 -lif data1 -failover-policy broadcast-domain-wide -failover-group fg1
Display node3 and node4 's network port attributes:
network port show -node node1
You have completed mapping the physical ports. To complete the upgrade, go to Perform final upgrade steps in ONTAP 9.7 or earlier.