Skip to main content

metrocluster check aggregate show

Contributors
Suggest changes

Show results of MetroCluster check for aggregates

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

Description

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

The command verifies the following aspects of the configuration of all aggregates in MetroCluster:

  • 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.

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.

[-node <Node name>] - Node Name

This is the name of the node for which the check was run. If this parameter is specified, only rows with this node will be displayed.

[-aggregate <aggregate name>] - Name of the Aggregate

This is the name of the aggregate for which the check was run. If this parameter is specified, only rows with this aggregate will be displayed.

[-check <MetroCluster Aggregate Check>] - 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>] - Name of Cluster

This is the name of the cluster the node belongs to. If this parameter is specified, only rows with this 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 with two nodes per cluster:

clusA::> metrocluster check aggregate show

Last Checked On: 4/9/2014 20:11:46

Node                  Aggregate             Check                 Result
--------------------- --------------------- --------------------- ---------
clusA-01              a1_required_data_aggr
                                            mirroring-status      ok
                                            disk-pool-allocation  ok
                      aggr0_a1
                                            mirroring-status      ok
                                            disk-pool-allocation  ok
clusA-02              a2_required_data_aggr
                                            mirroring-status      ok
                                            disk-pool-allocation  ok
                      aggr0_a2
                                            mirroring-status      ok
                                            disk-pool-allocation  ok
clusB-01              b1_required_data_aggr
                                            mirroring-status      ok
                                            disk-pool-allocation  ok
                      aggr0_b1
                                            mirroring-status      ok
                                            disk-pool-allocation  ok
clusB-02              aggr0_b2
                                            mirroring-status      ok
                                            disk-pool-allocation  ok
                      b2_required_data_aggr
                                            mirroring-status      ok
                                            disk-pool-allocation  ok
16 entries were displayed.

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

clusA::> metrocluster check aggregate show -instance
Node Name: clusA-01
                Name of the Aggregate: a1_required_data_aggr_1
                        Type of Check: mirroring-status
                      Name of Cluster: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusA-01
                Name of the Aggregate: a1_required_data_aggr_1
                        Type of Check: disk-pool-allocation
                      Name of Cluster: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusA-01
                Name of the Aggregate: a1_required_data_aggr_2
                        Type of Check: mirroring-status
                      Name of Cluster: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusA-01
                Name of the Aggregate: a1_required_data_aggr_2
                        Type of Check: disk-pool-allocation
                      Name of Cluster: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusA-01
                Name of the Aggregate: aggr0_a1
                        Type of Check: mirroring-status
                      Name of Cluster: clusA
                  Result of the Check: warning
Additional Information/Recovery Steps: Root aggregate "aggr0_a1" is un-mirrored. Root aggregates should be mirrored in a MetroCluster configuration.
Node Name: clusA-01
                Name of the Aggregate: aggr0_a1
                        Type of Check: disk-pool-allocation
                      Name of Cluster: clusA
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusB-01
                Name of the Aggregate: aggr0_b1
                        Type of Check: mirroring-status
                      Name of Cluster: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusB-01
                Name of the Aggregate: aggr0_b1
                        Type of Check: disk-pool-allocation
                      Name of Cluster: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusB-01
                Name of the Aggregate: b1_required_data_aggr_1
                        Type of Check: mirroring-status
                      Name of Cluster: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusB-01
                Name of the Aggregate: b1_required_data_aggr_1
                        Type of Check: disk-pool-allocation
                      Name of Cluster: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusB-01
                Name of the Aggregate: b1_required_data_aggr_2
                        Type of Check: mirroring-status
                      Name of Cluster: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps: -
Node Name: clusB-01
                Name of the Aggregate: b1_required_data_aggr_2
                        Type of Check: disk-pool-allocation
                      Name of Cluster: clusB
                  Result of the Check: ok
Additional Information/Recovery Steps: -
12 entries were displayed.