ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • metrocluster configuration-settings dr-group create

    Create a DR group in a MetroCluster over IP setup

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

    Description

    The metrocluster configuration-settings dr-group create command partners the nodes that will comprise a DR group in a MetroCluster setup.

    This command is used for MetroCluster setups that are connected though IP links. MetroCluster setups that are connected through FC links will configure DR groups automatically and do not require the metrocluster configuration-settings commands.

    The metrocluster configuration-settings commands are run in the following order to set up MetroCluster:

    Before running this command, cluster peering must be configured between the local and partner clusters. Run the cluster peer show command to verify that peering is available between the local and partner clusters.

    This command configures a local node and a remote node as DR partner nodes. The command also configures the HA partner of the local node and the HA partner of the remote node as the other DR partner nodes in the DR group.

    Parameters

    -partner-cluster <Cluster name> - Partner Cluster Name

    Use this parameter to specify the name of the partner cluster.

    -local-node {<nodename>|local} - Local Node Name

    Use this parameter to specify the name of a node in the local cluster.

    -remote-node <text> - Remote Node Name

    Use this parameter to specify the name of a node in the partner cluster that is to be the DR partner of the specified local node.

    Examples

    The following example shows the creation of the MetroCluster DR group:
    clusA::>  metrocluster configuration-settings dr-group  create -partner-cluster clusB -local-node A1 -remote-node B1
    [Job 268] Job succeeded: DR Group Create is successful.
    
    clusA::>  metrocluster configuration-settings dr-group show
    DR Group ID Cluster                    Node               DR Partner Node
    ----------- -------------------------- ------------------ ------------------
    1           clusA
                                           A1                 B1
                                           A2                 B2
                clusB
                                           B2                 A2
                                           B1                 A1
    4 entries were displayed.
    clusA::> metrocluster configuration-settings show-status
    Cluster                    Node               Configuration Settings Status
    -------------------------- ------------------ ---------------------------------
    clusA
                               A1                 ready for interface create
                               A2                 ready for interface create
    clusB
                               B1                 ready for interface create
                               B2                 ready for interface create
    4 entries were displayed.
    Top of Page