ONTAP 9.13.1 commands

metrocluster check cluster show

Show results of MetroCluster check for the cluster components

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

Description

The metrocluster check cluster show command displays the results of cluster checks performed by the metrocluster check run command.

The command displays the results of the following cluster configuration checks:

  • negotiated-switchover-ready: This check verifies that the cluster is ready for a negotiated switchover operation.

  • switchback-ready: This check verifies that the cluster is ready for a switchback operation.

  • job-schedules: This check verifies that the job schedules between the local and remote clusters are consistent.

  • licenses: This check verifies that the licenses between the local and remote clusters are consistent.

  • periodic-check-enabled: This check verifies that the periodic MetroCluster Check Job is enabled.

  • onboard-key-management: This check verifies that the Onboard Key Management hierarchies are consistent.

  • external-key-management: This check verifies that the External Key Management configurations are consistent.

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

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.

[-check {negotiated-switchover-ready|switchback-ready|job-schedules|licenses|periodic-check-enabled|onboard-key-management|external-key-management}] - Type of Check

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

[-cluster <Cluster name>] - Cluster Name

This is the name of the cluster the check results apply to. If this parameter is specified, only rows matching the specified cluster will be displayed.

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

This is the result of the check. 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:

clusA::> metrocluster check cluster show

Last Checked On: 11/29/2018 17:15:00

Cluster               Check                                Result
--------------------- ------------------------------------ ---------
clusA
                      negotiated-switchover-ready          not-applicable
                      switchback-ready                     not-applicable
                      job-schedules                        ok
                      licenses                             ok
                      periodic-check-enabled               ok
                      onboard-key-management               ok
                      external-key-management              ok
clusB
                      negotiated-switchover-ready          not-applicable
                      switchback-ready                     not-applicable
                      job-schedules                        ok
                      licenses                             ok
                      periodic-check-enabled               ok
                      onboard-key-management               ok
                      external-key-management              ok
14 entries were displayed.

The following example shows the execution of the command with the -instance parameter:

clusA::> metrocluster check cluster show -instance
Type of Check: negotiated-switchover-ready
                         Cluster Name: clusA
                  Result of the Check: not-applicable
Additional Information/Recovery Steps: Disaster recovery readiness checks are not performed as part of periodic metrocluster check. To run these checks, use the "metrocluster check run" command.
Type of Check: switchback-ready
                         Cluster Name: clusA
                  Result of the Check: not-applicable
Additional Information/Recovery Steps: Disaster recovery readiness checks are not performed as part of periodic metrocluster check. To run these checks, use the "metrocluster check run" command.
Type of Check: job-schedules
                         Cluster Name: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps:
Type of Check: licenses
                         Cluster Name: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps:
Type of Check: periodic-check-enabled
                         Cluster Name: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps:
Type of Check: onboard-key-management
                         Cluster Name: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps:
Type of Check: external-key-management
                         Cluster Name: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps:
Type of Check: negotiated-switchover-ready
                         Cluster Name: clusB
                  Result of the Check: not-applicable
Additional Information/Recovery Steps: Disaster recovery readiness checks are not performed as part of periodic metrocluster check. To run these checks, use the "metrocluster check run" command.
Type of Check: switchback-ready
                         Cluster Name: clusB
                  Result of the Check: not-applicable
Additional Information/Recovery Steps: Disaster recovery readiness checks are not performed as part of periodic metrocluster check. To run these checks, use the "metrocluster check run" command.
Type of Check: job-schedules
                         Cluster Name: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps:
Type of Check: licenses
                         Cluster Name: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps:
Type of Check: periodic-check-enabled
                         Cluster Name: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps:
Type of Check: onboard-key-management
                         Cluster Name: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps:
Type of Check: external-key-management
                         Cluster Name: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps:
14 entries were displayed.
Top of Page