Sun Cluster Geographic Edition System Administration Guide

Checking the Runtime Status of Sun StorEdge Availability Suite 3.2.1 Data Replication

You can obtain an overall view of the status of replication, as well as a more detailed runtime status of the Sun StorEdge Availability Suite 3.2.1 software from the status of the replication resource groups. The following sections describe the procedures for checking each status.

Printing a Sun StorEdge Availability Suite 3.2.1 Runtime Status Overview

The status of each Sun StorEdge Availability Suite data replication resource indicates the status of replication on a particular device group. The status of all the resources under a protection group are aggregated in the replication status.

To view the overall status of replication, look at the protection group state as described in the following procedure.

ProcedureHow to Check the Overall Runtime Status of Replication

Steps
  1. Access a node of a cluster where the protection group is defined.

    You must be assigned the Basic Solaris User RBAC rights profile to complete this procedure. For more information about RBAC, see Sun Cluster Geographic Edition Software and RBAC.

  2. Check the runtime status of replication.


    # geoadm status

    Refer to the Protection Group section of the output for replication information. The information that is printed by this command includes the following:

    • Whether the local cluster is enabled for partnership participation

    • Whether the local cluster is involved in a partnership

    • Status of the heartbeat configuration

    • Status of the defined protection groups

    • Status of current transactions

  3. Check the runtime status of data replication for each Sun StorEdge Availability Suite 3.2.1 protection group.


    # scstat -g

    Refer to the Status and Status Message fields that are presented for the data replication device group you want to check. For more information about these fields, see Table 7–1.

Printing a Detailed Sun StorEdge Availability Suite 3.2.1 Runtime Status

You must create one replication resource group for each protection group. The name of the replication resource group has the following format:


avs-protection-group-name-rep-rg

If you add a Sun StorEdge Availability Suite 3.2.1 device group to a protection group, the Sun Cluster Geographic Edition software creates a resource for each device group. This resource monitors the status of replication for its device group. The name of each resource has the following format:


avs-devicegroup-name-rep-rs

You can monitor the state of the replication resource group to give you the overall status of replication. Use the scstat -g command to obtain the State and Status Message values for the replication resource group. The State is Online while the resource is online.

The following table describes the Status and State Message values that are returned by the scstat command when the State of the Sun StorEdge Availability Suite 3.2.1 replication resource group is Online.

Table 7–1 State and Status Messages of an Online Sun StorEdge Availability Suite 3.2.1 Replication Resource Group

Status 

Status Message 

Faulted 

Replication service disabled 

Faulted 

Incorrect role 

Faulted 

Volume failed 

Faulted 

Bitmap failed 

Faulted 

Queue failed 

Faulted 

Need sync 

Faulted 

Need reverse sync 

Faulted 

Reverse synching 

Degraded 

Synching 

Degraded 

Queuing 

Degraded 

Logging 

Online 

Replicating 

For more details about these values, refer to the Sun StorEdge Availability Suite 3.2.1 Remote Mirror Software Administration and Operations Guide.

For more information about the scstat command, see the scstat(1M) man page.