metrocluster check show
Show the results of the last instance of MetroCluster check
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The metrocluster check show
command displays the results of the metrocluster check run command.
This command displays the high-level verification results for each of the components. If there are any errors for a component, running the show command for that component (for example metrocluster check node show or metrocluster check aggregate show ) will display more information about the warning.
Please note that this command does not run the checks but only displays the results of checks. To look at the latest results, run the metrocluster check run command and then run this command. |
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. [-timestamp <MM/DD/YYYY HH:MM:SS>]
- Time of Check-
This is the time at which the metrocluster check run command was last run in this cluster and these results were produced. If this parameter is specified, only rows with this timestamp will be displayed.
[-component <MetroCluster Check Components>]
- Name of the Component-
This is the name of the component. If this parameter is specified, only rows with this component will be displayed.
[-result {ok|warning|not-run|not-applicable}]
- Result of the Check-
This is the result of the check for the component. If this parameter is specified, only rows with this result will be displayed.
[-additional-info <text>]
- Additional Information/Recovery Steps-
This is the additional info for the verification for this component. This field will have detailed information about the warning and recovery steps. If this parameter is specified, only rows with this additional info will be displayed.
Examples
The following example shows the execution of the command when there are no warnings:
clusA::> metrocluster check show cked On: 4/9/2014 20:11:46 t Result ------------------- --------- nodes ok clusters ok lifs ok config-replication ok aggregates ok connections ok s were displayed.
The following example shows the execution of the command when there are some warnings:
clusA::> metrocluster check show cked On: 4/9/2014 20:11:46 t Result ------------------- --------- nodes warning clusters ok lifs ok config-replication ok aggregates ok connections ok s were displayed.
The following example shows the execution of the command with -instance option:
clusA::> metrocluster check show -instance Time of Check: 4/9/2014 20:12:36 Name of the Component: nodes Result of the Check: warning Additional Information/Recovery Steps: Time of Check: 4/9/2014 20:12:36 Name of the Component: cluster Result of the Check: ok Additional Information/Recovery Steps: Time of Check: 4/9/2014 20:12:36 Name of the Component: lifs Result of the Check: ok Additional Information/Recovery Steps: Time of Check: 4/9/2014 20:12:36 Name of the Component: config-replication Result of the Check: ok Additional Information/Recovery Steps: Time of Check: 4/9/2014 20:12:36 Name of the Component: aggregates Result of the Check: warning Additional Information/Recovery Steps: Time of Check: 4/9/2014 20:12:36 Name of the Component: connections Result of the Check: ok Additional Information/Recovery Steps: 6 entries were displayed.