Sun Cluster Geographic Edition Data Replication Guide for Hitachi TrueCopy

Checking the Runtime Status of Hitachi TrueCopy Data Replication

You can obtain an overall view of the status of replication, as well as a more detailed runtime status of the Hitachi TrueCopy replication resource groups. The following sections describe the procedures for checking each status.

Displaying a Hitachi TrueCopy Runtime Status Overview

The status of each Hitachi TrueCopy 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. This replication status is the second component of the protection group state. For more information about the states of protection groups, refer to Monitoring the Runtime Status of the Sun Cluster Geographic Edition Software in Sun Cluster Geographic Edition System Administration Guide.

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

  1. Access a node of the cluster where the protection group has been 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 in Sun Cluster Geographic Edition System Administration Guide.

  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 displayed 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 Hitachi TrueCopy device group.


    # scstat -g

    Refer to the Status and Status Message fields for the data replication device group you want to check.

See Also

For more information about these fields, see Table 2–6.

Displaying a Detailed Hitachi TrueCopy Runtime Status

The Sun Cluster Geographic Edition software internally creates and maintains one replication resource group for each protection group. The name of the replication resource group has the following format:


rg-tc_truecopyprotectiongroupname

If you add a Hitachi TrueCopy device group to a protection group, 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:


r-tc-truecopyprotectiongroupname-truecopydevicegroupname

You can monitor the status of replication of this device group by checking the Status and Status Message of this resource. Use the scstat -g command to display the resource status and the status message.

The following table describes the Status and Status Message values that are returned by the scstat -g command when the State of the Hitachi TrueCopy replication resource group is Online.

Table 2–6 State and Status Messages of an Online Hitachi TrueCopy Replication Resource Group

Status 

Status Message 

Online 

P-Vol/S-Vol:PAIR 

Online 

P-Vol/S-Vol:PAIR:Remote horcmd not reachable 

Online 

P-Vol/S-Vol:PFUL 

Online 

P-Vol/S-Vol:PFUL:Remote horcmd not reachable 

Degraded 

SMPL:SMPL 

Degraded 

SMPL:SMPL:Remote horcmd not reachable 

Degraded 

P-Vol/S-Vol:COPY 

Degraded 

P-Vol/S-Vol:COPY:Remote horcmd not reachable 

Degraded 

P-Vol/S-Vol:PSUS 

Degraded 

P-Vol/S-Vol:PSUS:Remote horcmd not reachable 

Degraded 

P-Vol/S-Vol:PFUS 

Degraded 

P-Vol/S-Vol:PFUS:Remote horcmd not reachable 

Faulted 

P-Vol/S-Vol:PDFUB 

Faulted 

P-Vol/S-Vol:PDUB:Remote horcmd not reachable 

Faulted 

P-Vol/S-Vol:PSUE 

Faulted 

P-Vol/S-Vol:PSUE:Remote horcmd not reachable 

Degraded 

S-Vol:SSWS:Takeover Volumes 

Faulted 

P-Vol/S-Vol:Suspicious role configuration. Actual Role=x, Config Role=y 

For more information about these values, refer to the Hitachi TrueCopy documentation.

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