ONTAP 9.15.1 commands

metrocluster configuration-settings connection disconnect

Tear down the network connections between partner nodes

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The metrocluster configuration-settings connection disconnect command removes the connections between nodes in a DR group that are used to mirror NV logs and access remote storage.

This command cannot be run if a node in the DR group has remote disks assigned to the node. The assigned ownership of remote disks can be removed by running the storage disk removeowner command.

The metrocluster configuration-settings commands are run in the following order to remove MetroCluster over IP configuration:

Parameters

-dr-group-id <integer> - DR Group ID

This parameter identifies the DR group to be disconnected.

Examples

The following example illustrates removal of connections in a four-node MetroCluster setup:

clusA::> metrocluster configuration-settings connection disconnect -dr-group-id 1
[Job 270] Job succeeded: Disconnect is successful.

clusA::>  metrocluster configuration-settings show-status
Cluster                    Node               Configuration Settings Status
-------------------------- ------------------ ---------------------------------
clusA
                           A1                 ready for connection connect
                           A2                 ready for connection connect
clusB
                           B1                 ready for connection connect
                           B2                 ready for connection connect
4 entries were displayed.
clusA::> metrocluster configuration-settings connection show
DR                    Source          Destination
Group Cluster Node    Network Address Network Address Partner Type Config State
----- ------- ------- --------------- --------------- ------------ ------------
1     clusA A1
                 Home Port: e0f
                      10.140.113.214  10.140.113.216  HA Partner   disconnected
                 Home Port: e0f
                      10.140.113.214  10.140.113.218  DR Partner   disconnected
                 Home Port: e0f
                      10.140.113.214  10.140.113.249  DR Auxiliary disconnected
                 Home Port: e0g
                      10.140.113.215  10.140.113.217  HA Partner   disconnected
                 Home Port: e0g
                      10.140.113.215  10.140.113.248  DR Partner   disconnected
                 Home Port: e0g
                      10.140.113.215  10.140.113.25   DR Auxiliary disconnected
                       A2
                 Home Port: e0f
                      10.140.113.216  10.140.113.214  HA Partner   disconnected
                 Home Port: e0f
                      10.140.113.216  10.140.113.249  DR Partner   disconnected
                 Home Port: e0f
                      10.140.113.216  10.140.113.218  DR Auxiliary disconnected
                 Home Port: e0g
                      10.140.113.217  10.140.113.215  HA Partner   disconnected
                 Home Port: e0g
                      10.140.113.217  10.140.113.25   DR Partner   disconnected
                 Home Port: e0g
                      10.140.113.217  10.140.113.248  DR Auxiliary disconnected
      clusB B2
                 Home Port: e0f
                      10.140.113.249  10.140.113.218  HA Partner   disconnected
                 Home Port: e0f
                      10.140.113.249  10.140.113.216  DR Partner   disconnected
                 Home Port: e0f
                      10.140.113.249  10.140.113.214  DR Auxiliary disconnected
                 Home Port: e0g
                      10.140.113.25   10.140.113.248  HA Partner   disconnected
                 Home Port: e0g
                      10.140.113.25   10.140.113.217  DR Partner   disconnected
                 Home Port: e0g
                      10.140.113.25   10.140.113.215  DR Auxiliary disconnected
                       B1
                 Home Port: e0f
                      10.140.113.218  10.140.113.249  HA Partner   disconnected
                 Home Port: e0f
                      10.140.113.218  10.140.113.214  DR Partner   disconnected
                 Home Port: e0f
                      10.140.113.218  10.140.113.216  DR Auxiliary disconnected
                 Home Port: e0g
                      10.140.113.248  10.140.113.25   HA Partner   disconnected
                 Home Port: e0g
                      10.140.113.248  10.140.113.215  DR Partner   disconnected
                 Home Port: e0g
                      10.140.113.248  10.140.113.217  DR Auxiliary disconnected
24 entries were displayed.
Top of Page