ONTAP 9.12.1 commands

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

    Check the MetroCluster setup

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

    Description

    The metrocluster check run command performs checks on the MetroCluster configuration and reports configuration errors if any.

    To run this command, at least one DR group needs to be configured. The command checks the following parts of the configuration:

    Node Configuration:

    • node-reachable: This check verifies that the node is reachable.

    • metrocluster-ready: This check verifies that the node is ready for MetroCluster configuration.

    • local-ha-partner: This check verifies that the HA partner node is in the same cluster.

    • ha-mirroring-on: This check verifies that HA mirroring for the node is configured.

    • symmetric-ha-relationship: This check verifies that the relationship between the node and its HA partner is symmetric.

    • remote-dr-partner: This check verifies that the DR partner node is in the remote cluster.

    • dr-mirroring-on: This check verifies that DR mirroring for the node is configured.

    • symmetric-dr-relationship: This check verifies that the relationship between the node and its DR partner is symmetric.

    • remote-dr-auxiliary-partner: This check verifies that the DR auxiliary partner node is in the remote cluster.

    • symmetric-dr-auxiliary-relationship: This check verifies that the relationship between the node and its DR auxiliary partner is symmetric.

    • storage-failover-enabled: This check verifies that storage failover is enabled.

    • has-intercluster-lif: This check verifies that the node has an intercluster LIF.

    • node-object-limit: This check verifies that the node object limit option for the node is turned on.

    Aggregate Configuration:

    • mirroring-status: This check verifies that the aggregate is mirrored.

    • disk-pool-allocation: This check verifies that the disks belonging to this aggregate have been correctly allocated to the right pools.

    At the end of the check the command displays a summary of the results. This summary output can be viewed again by running metrocluster check show . If any of the rows in this output show any warnings more details can be viewed by running the metrocluster check show command for that component.

    Parameters

    [-skip-dr-simulation {true|false}] - Skip the DR Readiness Checks

    If this optional parameter is set to true, the switchover and switchback simulations are not run.

    Examples

    The following example shows the execution of the command when there are no warnings:

    clusA::> metrocluster check run
    
            Last Checked On: 4/9/2014 20:11:46
    Component           Result
            ------------------- ---------
            nodes               ok
            clusters            ok
            lifs                ok
            config-replication  ok
            aggregates          ok
    5 entries were displayed.
    Command completed. Use the "metrocluster check show -instance" command or sub-commands in "metrocluster check" directory for detailed results.

    The following example shows the execution of the command when there are some warnings:

    clusA::> metrocluster check run
    Last Checked On: 4/9/2014 20:11:46
    Component           Result
            ------------------- ---------
            nodes               warning
            clusters            ok
            lifs                ok
            config-replication  ok
            aggregates          ok
    5 entries were displayed.
    Command completed. Use the "metrocluster check show -instance" command or sub-commands in "metrocluster check" directory for detailed results.
    Top of Page