Sun Cluster Geographic Edition Data Replication Guide for EMC Symmetrix Remote Data Facility

How to Detect Data Replication Errors

You can check the status of the replication resources by using the scstat -g command as follows:


phys-paris-1# scstat -g

For information about how different Resource status values map to actual replication pair states, see Table 2–4.

Running the scstat -g command might return the following:


...

-- Resources --

            Resource Name       Node Name           State     Status Message
            -------------       ---------           -----     --------------
  Resource: sc_geo_dr-SRDF-srdfpg-devgroup1 pemc1  Online    Online - Partitoned
  Resource: sc_geo_dr-SRDF-srdfpg-devgroup1 pemc2  Offline   Offline
...

You can see the aggregate resource status for all device groups in the protection group by using the geoadm status command. For example, the output of the scstat -g command in the preceding example indicates that the EMC Symmetrix Remote Data Facility device group, devgroup1, is in the Suspended state on cluster-paris. Table 2–4 indicates that the Suspended state corresponds to a resource status of FAULTED. So, the data replication state of the protection group is also FAULTED. This state is reflected in the output of the geoadm status command, which displays the state of the protection group as Error.


phys-paris-1# geoadm status
Cluster: cluster-paris

Partnership "paris-newyork-ps"  : OK
   Partner clusters             : cluster-newyork
   Synchronization              : OK      
   ICRM Connection              : OK

   Heartbeat "paris-to-newyork" monitoring "cluster-newyork": OK 
      Heartbeat plug-in "ping_plugin"             : Inactive
      Heartbeat plug-in "tcp_udp_plugin"          : OK

Protection group "srdfpg"   : Error
      Partnership         : paris-newyork-ps
      Synchronization     : OK

      Cluster cluster-paris    : Error
         Role                  : Primary
         PG activation state   : Activated
         Configuration         : OK
         Data replication      : Error
         Resource groups       : OK 
   
      Cluster cluster-newyork  : Error
         Role                  : Secondary
         PG activation state   : Activated
         Configuration         : OK
         Data replication      : Error
         Resource groups       : OK

Pending Operations
      Protection Group         : "srdfpg"
      Operations               : start