Skip to main content
ONTAP MetroCluster

Modify the properties of a MetroCluster IP interface

Contributors netapp-aoife

Beginning with ONTAP 9.10.1, you can change the following properties of a MetroCluster IP interface: IP address and mask, and gateway. You can use any combination of parameters to update.

You might need to update these properties, for example, if a duplicate IP address is detected or if a gateway needs to change in the case of a layer 3 network due to router configuration changes.

Modify the IP address, netmask, and gateway

The procedure you follow depends on whether you are using ONTAP System Manager or the CLI.

System Manager

Use System Manager to modify the IP address, netmask, and gateway properties.

Step

Update the IP address, netmask, and gateway for each node and interface.

CLI

Use the CLI to modify the IP address, netmask, and gateway properties.

About this task
  • You can only change one interface at a time. There will be traffic disruption on that interface until the other interfaces are updated and connections are reestablished.

  • Use the metrocluster configuration-settings interface modify command to change any MetroCluster IP interface property.

    Note These commands change the configuration on a particular node for a particular port. To restore complete network connectivity, similar commands are needed on other ports. Similarly, network switches also need to update their configuration. For example, if the gateway is updated, ideally it is changed on both nodes of an HA pair, since they are same. The switch connected to those nodes also needs to update its gateway.
  • Use the metrocluster configuration-settings interface show, metrocluster connection check, and metrocluster connection show commands to verify that all connectivity is working in all interfaces.

Steps
  1. Update the IP address, netmask, and gateway for a single node and interface: metrocluster configuration-settings interface modify

    The following command shows how to update the IP address, netmask and gateway:

    cluster_A::* metrocluster configuration-settings interface modify -cluster-name cluster_A -home-node node_A_1 -home-port e0a-10 -address 192.168.12.101 -gateway 192.168.12.1 -netmask 255.255.254.0
    (metrocluster configuration-settings interface modify)
    Warning: This operation will disconnect and reconnect iSCSI and RDMA connections used for DR protection through port “e0a-10”. Partner nodes may need modifications for port “e0a-10” in order to completely establish network connectivity.
    Do you want to continue?" yes
    [Job 28] Setting up iSCSI target configuration. (pass2:iscsi13:0:-1:0): xpt_action_default: CCB type 0xe XPT_DEV_ADVINFO not supported
    [Job 28] Establishing iSCSI initiator connections.
    (pass6:iscsi14:0:-1:0): xpt_action_default: CCB type 0xe XPT_DEV_ADVINFO not supported
    (pass8:iscsi15:0:-1:0): xpt_action_default: CCB type 0xe XPT_DEV_ADVINFO not supported
    (pass9:iscsi16:0:-1:0): xpt_action_default: CCB type 0xe XPT_DEV_ADVINFO not supported
    [Job 28] Job succeeded: Interface Modify is successful.
    cluster_A::*> metrocluster configuration-settings interface modify -cluster-name cluster_A -home-node node_A_2 -home-port e0a-10 -address 192.168.12.201 -gateway 192.168.12.1 -netmask 255.255.254.0
    (metrocluster configuration-settings interface modify)
    Warning: This operation will disconnect and reconnect iSCSI and RDMA connections used for DR protection through port “e0a-10”. Partner nodes may need modifications for port “e0a-10” in order to completely establish network connectivity.
    Do you want to continue?" yes
    [Job 28] Job succeeded: Interface Modify is successful
  2. Verify that all connectivity is working for all interfaces: metrocluster configuration-settings interface show

    The following command shows how to verify that all connectivity is working for all interfaces:

    cluster_A::*> metrocluster configuration-settings interface show
    (metrocluster configuration-settings interface show)                                                 DR              Config
    Group Cluster Node    Network Address Netmask         Gateway         State
    ----- ------- ------- --------------- --------------- --------------- ---------
    1     cluster_A node_A_2
                     Home Port: e0a-10
                          192.168.12.201  255.255.254.0   192.168.12.1    completed
                     Home Port: e0b-20
                          192.168.20.200  255.255.255.0   192.168.20.1    completed
                    node_A_1
                     Home Port: e0a-10
                          192.168.12.101  255.255.254.0   192.168.12.1    completed
                     Home Port: e0b-20
                          192.168.20.101  255.255.255.0   192.168.20.1    completed
          cluster_B node_B_1
                     Home Port: e0a-10
                          192.168.11.151  255.255.255.0   192.168.11.1    completed
                     Home Port: e0b-20
                          192.168.21.150  255.255.255.0   192.168.21.1    completed
                    node_B_2
                     Home Port: e0a-10
                          192.168.11.250  255.255.255.0   192.168.11.1    completed
                     Home Port: e0b-20
                          192.168.21.250  255.255.255.0   192.168.21.1    completed
    8 entries were displayed.
  1. Verify that all connections are working:

    metrocluster configuration-settings connection show

    The following command shows how to verify that all connections are working:

    cluster_A::*> metrocluster configuration-settings connection show
      (metrocluster configuration-settings connection show)
    DR                    Source          Destination
    Group Cluster Node    Network Address Network Address Partner Type Config State
    ----- ------- ------- --------------- --------------- ------------ ------------
    1     cluster_A node_A_2
                     Home Port: e0a-10
                          192.168.10.200  192.168.10.101  HA Partner   completed
                     Home Port: e0a-10
                          192.168.10.200  192.168.11.250  DR Partner   completed
                     Home Port: e0a-10
                          192.168.10.200  192.168.11.151  DR Auxiliary completed
                     Home Port: e0b-20
                          192.168.20.200  192.168.20.100  HA Partner   completed
                     Home Port: e0b-20
                          192.168.20.200  192.168.21.250  DR Partner   completed
                     Home Port: e0b-20
                          192.168.20.200  192.168.21.150  DR Auxiliary completed
                    node_A_1
                     Home Port: e0a-10
                          192.168.10.101  192.168.10.200  HA Partner   completed
                     Home Port: e0a-10
                          192.168.10.101  192.168.11.151  DR Partner   completed
                     Home Port: e0a-10
                          192.168.10.101  192.168.11.250  DR Auxiliary completed
                     Home Port: e0b-20
                          192.168.20.100  192.168.20.200  HA Partner   completed
                     Home Port: e0b-20
                          192.168.20.100  192.168.21.150  DR Partner   completed
                     Home Port: e0b-20
                          192.168.20.100  192.168.21.250  DR Auxiliary completed