ONTAP 9.15.1 commands

metrocluster remove-dr-group

Remove a DR group from a MetroCluster configuration with multiple DR groups

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

Description

The metrocluster remove-dr-group command removes a DR group from a MetroCluster configuration with multiple DR groups.

The command removes the local nodes in the identified DR group from the MetroCluster configuration. The command must be repeated on the partner cluster to remove the remote nodes in the identified DR group.

A DR group cannot be removed when the MetroCluster configuration has only a single DR group. Two or more DR groups must be configured. The command does not allow a user from unconfiguring the entire MetroCluster. Contact our Support to unconfigure the entire MetroCluster.

The following preparation steps must be completed on the local and partner clusters before removing a DR group.

  • Move all data volumes to another DR group.

  • Move all MDV_CRS metadata volumes to another DR group.

  • Delete all MDV_aud metadata volumes that may exist in the DR group to be removed.

  • Delete all data aggregates in the DR group to be removed. Root aggregates are not deleted.

  • Migrate all data LIFs to home nodes in another DR group.

  • Migrate the cluster management LIF to a home node in another DR group. Node management and inter-cluster LIFs are not migrated.

  • Transfer epsilon to a node in another DR group.

The command is vetoed if the preparation steps are not completed on the local and partner clusters.

Parameters

-dr-group-id <integer> - DR Group ID (privilege: advanced)

This parameter indentifies the DR group to be removed.

Examples

cluster_A::*> metrocluster remove-dr-group -dr-group-id 1

Warning: Nodes in the DR group that are removed from the MetroCluster
         configuration will lose their disaster recovery protection.
Local nodes "node_A1, node_A2" will be removed from the Metro-
         Cluster configuration. You must repeat the operation on the
         partner cluster "cluster_B" to remove the remote nodes in the
         DR group.
Do you want to continue? {y|n}: y

Info: The following preparation steps must be completed on the local and
      partner clusters before removing a DR group.
1. Move all data volumes to another DR group.
      2. Move all MDV_CRS metadata volumes to another DR group.
      3. Delete all MDV_aud metadata volumes that may exist in the DR
      group to be removed.
      4. Delete all data aggregates in the DR group to be removed. Root
      aggregates are not deleted.
      5. Migrate all data LIFs to home nodes in another DR group.
      6. Migrate the cluster management LIF to a home node in another DR
      group.  Node management and inter-cluster LIFs are not migrated.
      7. Transfer epsilon to a node in another DR group.
The command is vetoed if the preparation steps are not completed
      on the local and partner clusters.
Do you want to continue? {y|n}: y
[Job 80] Job succeeded: Remove DR Group is successful.
Top of Page