ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • metrocluster check lif show

    Show results of MetroCluster check results for the data LIFs

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

    Description

    The metrocluster check lif show command displays the LIF placement failures in the MetroCluster configuration.

    The command verifies the following aspects of the LIF placements of all the data LIFs in Metrocluster:

    • lif-placed-on-dr-node: This check verifies that the LIF is placed on DR partner node.

    • port-selection: This check verifies that the LIF is placed on correct port.

    The LIF placement failures are mostly fabric/network connectivity issues that require manual intervention. Once the connectivity issues are resolved manually, the admin is expected to run metrocluster check lif repair-placement command to resolve the LIF placement issues for the sync source Vserver.

    Additional information about the warnings (if any) and recovery steps can be viewed by running the command with the -instance option.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-cluster <Cluster name>] - Name of the Cluster

    This is the name of the cluster the LIF belongs to. If this parameter is specified, only rows with this cluster will be displayed.

    [-vserver <text>] - Name of the Vserver

    This is the name of the Vserver in the MetroCluster configuration

    [-lif <lif-name>] - Name of the Lif

    This is the name of the LIF.

    [-check <MetroCluster LIF placement Check>] - Description

    This is the type of the check performed. If this parameter is specified, only rows with this check will be displayed.

    [-result {ok|warning|not-run|not-applicable}] - Result of the Check

    This is the result of the check performed. If this parameter is specified, only rows with this result will be displayed.

    [-additional-info <text>] - Additional Information/Recovery Steps

    This is additional information about the check. This field has more information and recovery steps for the warning. If this parameter is specified, only rows with this additional info will be displayed.

    Examples

    The following example shows the execution of the command in a MetroCluster configuration with two nodes per cluster:

    clusA::>metrocluster check  lif show
    Cluster               Vserver     LIF         Check                 Result
    ------------------- ----------- -----------  ---------------------- ------
    ClusA               vs1         a_data1      lif-placed-on-dr-node  ok
                                                 port-selection         ok
                                    a_data1_inet6
                                                 lif-placed-on-dr-node  ok
                                                 port-selection         ok
    ClusA               vs2-mc      b_data1      lif-placed-on-dr-node  ok
                                                 port-selection         warning
                                    b_data1_inet6
                                                 lif-placed-on-dr-node  ok
                                                 port-selection         warning
    ClusB               vs1-mc      a_data1      lif-placed-on-dr-node  warning
                                                 port-selection         ok
                                    a_data1_inet6
                                                 lif-placed-on-dr-node  warning
                                                 port-selection         ok
    ClusB               vs2         b_data1      lif-placed-on-dr-node  ok
                                                 port-selection         ok
                                    b_data1_inet6
                                                 lif-placed-on-dr-node  ok
                                                 port-selection         ok
    16 entries were displayed.
    Top of Page