rephc showcgcfg
Function
Example
Run the command to obtain the configuration information about a HyperMetro consistency group.
admin:/diagnose>rephc showcgcfg ----cg(total[2]) local config for localid(0),total pair(0)---- * cg used = FALSE,NOT USED > localId = 4294967295(0xffffffff) > pairCopyDone = 0 > pairNumber = 0 > MngConStatus = 255 > LinkStatus = 255 + ConfigInfo->isMaster = TRUE + ConfigInfo->cgId = 0xffffffffffffffff + ConfigInfo->remoteId = 4294967295 + ConfigInfo->domainId = 0xffffffffffffffff + ConfigInfo->workMode = 255 + ConfigInfo->isPriority = REMOT_PRI + ConfigInfo->updateSpd = 255 + ConfigInfo->recvPolicy = 255 + ConfigInfo->arbId = 0x0 + ConfigInfo->arbState = NORMAL + ConfigInfo->cgHealth = 255 + ConfigInfo->objsType = 255 + ConfigInfo->cgName =cg0 + ConfigInfo->cgDescription = + ConfigInfo->log.curOpcode = 65535 + ConfigInfo->log.tranflag = 255 + ConfigInfo->dbAlignBit = 0 + ConfigInfo->fault times[0] :-- + ConfigInfo->fault times[1] :-- + ConfigInfo->fault times[2] :-- + ConfigInfo->recoverytime :Thu Feb 16 19:42:47 2017 + ConfigInfo->freeztime :0
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
localId | ID of a local consistency group. |
pairCopyDone | Number of members that have been copied in pairs of a consistency group. |
pairNumber | Number of pair members in a consistency group. |
MngConStatus | Status of the management link in a consistency group. |
LinkStatus | Link status of a consistency group. |
isMaster | Whether the site is the master site. |
cgId | ID of a consistency group. |
remoteId | Index in the configuration of peer storage array. |
domainId | ID of a HyperMetro domain. |
workMode | Work mode of HyperMetro: active-active or active-passive. |
isPriority | Whether the site is the preferred site. |
updateSpd | Synchronization rate. |
recvPolicy | Recovery policy. |
arbId | ID of an arbitration object. |
arbState | Arbitration status. |
cgHealth | Health status of a consistency group. |
objsType | Object type. |
cgName | Name of a consistency group. |
cgDescription | Description of a consistency group. |
curOpcode | Operation that is being executed. |
transflag | Trans flag that is being executed. |
dbAlignBit | Records whether there is a power-on flag. |
fault times[0] | Time of the first fault among the latest three consistency group faults. |
fault times[1] | Time of the second fault among the latest three consistency group faults. |
fault times[2] | Time of the third fault among the latest three consistency group faults. |
recoverytime | Time of the latest consistency group fault recovery. |
freeztime | Recovery period after consistency group fault isolation. |