Go to main content

Oracle® Solaris Cluster Geographic Edition Data Replication Guide for ZFS Snapshots

Exit Print View

Updated: February 2017
 
 

How to Detect Remote Replication Errors

  1. Check the status of the replication status resources.
    paris-node-1# clresource status -v replication-status-rs
    replication-status-rs

    Specifies the name of the Oracle Solaris ZFS snapshot replication status resource for the replication component

    For information about different Resource Status values, see Figure 4, Table 4, Status and Status Messages of an Online Oracle Solaris ZFS snapshot Replication Status Resource Group.

    Running the clresource status command might return output similar to the following example:

    …
    -- Resources --
    
    Resource Name                Node Name           State     Status Message
    -------------                ---------           -----     --------------
    Resource: replication-status-rs   paris-node-1        Online    Faulted  - Failed to get the list of ZFS snapshots for the ZFS  dataset dataset on the host host
      
    Resource: replication-status-rs   paris-node-2      Offline   Offline
    …
  2. Display the aggregate resource status for all components in the protection group.

    For example, the output of the clresource status command in the preceding example indicates that the replication status resource has reported the Faulted status, and therefore the Oracle Solaris ZFS snapshot data replication of the protection group is in the Error status on paris, as shown below.

    paris-node-1# geoadm status
    Cluster: paris
    
    Partnership "paris-newyork-ps"  : OK
    Partner clusters             : newyork
    Synchronization              : OK
    ICRM Connection              : OK
    
    Heartbeat "paris-newyork-ps" monitoring "newyork": OK
    Heartbeat plug-in "ping_plugin"             : Inactive
    Heartbeat plug-in "tcp_udp_plugin"          : OK
    
    Protection group "zfssnap-pg"   : Error
    Partnership         : paris-newyork-ps
    Synchronization     : OK
    
    Cluster paris    : Error
    Role                  : Primary
    PG activation state   : Activated
    Configuration         : OK
    Data replication      : Error
    Resource groups       : OK
    
    Cluster newyork  : Error
    Role                  : Secondary
    PG activation state   : Activated
    Configuration         : OK
    Data replication      : Error
    Resource groups       : OK