Skip to main content

Creating the DR group

You must create the disaster recovery (DR) group relationships between the clusters.

About this task

You perform this procedure on one of the clusters in the MetroCluster configuration to create the DR relationships between the nodes in both clusters.
Note
The DR relationships cannot be changed after the DR groups are created.


  1. Verify that the nodes are ready for creation of the DR group by entering the following command on each: metrocluster configuration-settings show-status

    Example

    The command output should show that the nodes are ready:

    cluster_A::> metrocluster configuration-settings show-status
    Cluster Node Configuration Settings Status
    -------------------------- ------------- --------------------------------
    cluster_A node_A_1 ready for DR group create
    node_A_2 ready for DR group create
    2 entries were displayed.
    cluster_B::> metrocluster configuration-settings show-status
    Cluster Node Configuration Settings Status
    -------------------------- ------------- --------------------------------
    cluster_B node_B_1 ready for DR group create
    node_B_2 ready for DR group create
    2 entries were displayed.
  2. Create the DR group: metrocluster configuration-settings dr-group create -partner-cluster partner-cluster-name -local-node local-node-name -remote-node remote-node-name

    This command is issued only once. It does not need to be repeated on the partner cluster. In the command, you specify the name of the remote cluster and the name of one local node and one node on the partner cluster.

    The two nodes you specify are configured as DR partners and the other two nodes (which are not specified in the command) are configured as the second DR pair in the DR group. These relationships cannot be changed after you enter this command.

    The following command creates these DR pairs:

    • node_A_1 and node_B_1

    • node_A_2 and node_B_2

    Cluster_A::> metrocluster configuration-settings dr-group create -partner-cluster cluster_B 
    -local-node node_A_1 -remote-node node_B_1
    [Job 27] Job succeeded: DR Group Create is successful.