ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • metrocluster configuration-settings interface delete

    Delete a MetroCluster interface

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

    Description

    The metrocluster configuration-settings interface delete command deletes the network logical interface that was configured on a network port provisioned for MetroCluster.

    This command cannot be run if the metrocluster configuration-settings connection connect command has set up the connections between the nodes in a DR group. The metrocluster configuration-settings connection disconnect command must then be run to remove the connections.

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

    Parameters

    -cluster-name <Cluster name> - Cluster Name

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

    -home-node <text> - Home Node

    Use this parameter to specify the home node in the cluster which hosts the interface.

    -home-port {<netport>|<ifgrp>} - Home Port

    Use this parameter to specify the home port provisioned for MetroCluster.

    Examples

    The following example shows the deletion of interface in a MetroCluster setup:

    clusA::> metrocluster configuration-settings interface delete -cluster-name clusA -home-node A1 -home-port e0f
    [Job 271] Job succeeded: Interface Delete is successful.
    
    clusA::> metrocluster configuration-settings interface show
    DR                                                                    Config
    Group Cluster Node    Network Address Netmask         Gateway         State
    ----- ------- ------- --------------- --------------- --------------- ---------
    1     clusA A1
                     Home Port: e0g
                          10.140.113.215  255.255.192.0   -               completed
                           A2
                     Home Port: e0f
                          10.140.113.216  255.255.192.0   -               completed
                     Home Port: e0g
                          10.140.113.217  255.255.192.0   -               completed
          clusB B2
                     Home Port: e0f
                          10.140.113.249  255.255.192.0   -               completed
                     Home Port: e0g
                          10.140.113.25   255.255.192.0   -               completed
                           B1
                     Home Port: e0f
                          10.140.113.218  255.255.192.0   -               completed
                     Home Port: e0g
                          10.140.113.248  255.255.192.0   -               completed
    7 entries were displayed.
    
    clusA::> metrocluster configuration-settings show-status
    Cluster                    Node               Configuration Settings Status
    -------------------------- ------------------ ---------------------------------
    clusA
                               A1                 ready for next interface create
                               A2                 ready for connection connect
    clusB
                               B1                 ready for connection connect
                               B2                 ready for connection connect
    4 entries were displayed.
    Output of the command after deleting all the interfaces:
    clusA::> metrocluster configuration-settings interface show
    No interfaces exist.
    
    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