How to modify IP address of the cluster management interface to avoid disruption
Applies to
ONTAP 9.8 and later
Description
This document describes step by step procedure to create a new cluster management interface to avoid a disruption in cluster management access
Procedure
WARNING Modifying node and cluster management IP can incur I/O interruptions in environments with databases on SAN storage due to LUN VPD changes please schedule maintenance a window |
Note: This procedure assumes that the new interface will be in the same broadcast domain as the original.
- Connect to SP/BMC over SSH to any node in the cluster and enter the "
system console
" command. - Login to ONTAP.
- Start by gathering current configuration.
- The admin SVM is used to host the cluster management LIF:
cluster1::> vserver show -type admin -fields vserver
vserver
--------
cluster1
- Show the network route with gateway information on the admin SVM:
cluster1::> network route show -vserver cluster1
Vserver Destination Gateway Metric
------------------- --------------- --------------- ------
cluster1
0.0.0.0/0 10.10.10.1 20
- Show details for the current cluster management LIF:
cluster1::> network interface show -vserver cluster1 -service-policy default-management -failover-policy broadcast-domain-wide -fields vserver,lif,address,netmask,home-node,home-port,broadcast-domain
vserver lif address netmask home-node home-port broadcast-domain
-------- ------------ ------------ ------------- ----------- --------- ----------------
cluster1 cluster_mgmt 10.10.10.10 255.255.255.0 cluster1-01 e0a MGMT
- If the new cluster management LIF will use a new port or VLAN, add the port into the same broadcast domain following Add or remove ports from a broadcast domain (ONTAP 9.8 and later).
- Create the new cluster management interface:
cluster1::> network interface create -vserver cluster1 -lif cluster_mgmt_new -service-policy default-management -failover-policy broadcast-domain-wide -address 10.20.20.20 -netmask 255.255.255.0 -home-node cluster1-01 -home-port e0c-100
- If the new LIF uses a different gateway, delete the existing route on the admin SVM and create a new route:
cluster1::> network route delete -vserver cluster1 -destination 0.0.0.0/0 -gateway 10.10.10.1
cluster1::> network route create -vserver cluster1 -destination 0.0.0.0/0 -gateway 10.20.20.1
- Verify you are able to ping and have full access to the newly created cluster management interface.
- Once confirmed, modify the old cluster management interface to a down state:
cluster1::> network interface modify -vserver cluster1 -lif cluster_mgmt -status-admin down
- Delete the previous old cluster management interface:
cluster1::> network interface delete -vserver cluster1 -lif cluster_mgmt
- If desired, rename the new interface to the original name:
cluster1::> network interface rename -vserver cluster1 -lif cluster_mgmt_new -newname cluster_mgmt
- Remove any previous ports in the broadcast domain that the new cluster management interface should no longer use following the link in step 4.