Use the lsrcconsistgrp command to return a concise list or a detailed view of remote copy relationships such as Metro Mirror, Global Mirror, or active-active consistency groups visible to the system.
lsrcconsistgrp -filtervalue "name=md*"
For more information about filtering attributes, see Attributes of the -filtervalue parameters.
This command returns a concise list or a detailed view of remote copy relationships such as Global Mirror, Metro Mirror, or active-active consistency groups that are visible to the system.
Attribute | Value |
---|---|
primary | Indicates a primary consistency group. The values are master and aux. |
state | Indicates the state. The values are:
|
cycle_period_seconds | Indicates the minimum period in seconds between multiple cycles. The value is a number (integer) in a range in the range 60 - 86400. The default value is 300. |
cycling_mode | Indicates the type of Global Mirroring, Metro Mirroring, or active-active cycling to use: none (default) or multi |
freeze_time | Indicates the time in YYMMDDHHMM format |
status | Indicates the relationship status. The values are:
Remember: This field is blank.
|
sync | Indicates whether the consistency group is synchronized. The value is in_syncor out_of_sync. |
mutually_consistent | Indicates whether the consistency group is mutually consistent. The values is
yes or no. Note: This relationship is consistent with other
consistency group relationships. This value is blank unless there is also a value in
consistent_stopped, consistent_disconnected, and
consistent_copying.
|
copy_type | Indicates the copy type. The values are:
|
The sync attribute has a value of in_sync when the contents are synchronized (identical) between volumes. If write operations take place on either the primary or secondary volume after a consistent (stopped) or idling state occurs, they will no longer be synchronized.
lsrcconsistgrp -delim :
The concise resulting output:
id:name:master_cluster_id:master_cluster_name:aux_cluster_id:aux_cluster_name: primary:state:relationship_count:copy_type:cycling_mode:freeze_time 248:jdemo_BA_cons1:0000020060406746:clusterB:0000020061413ABA:clusterA:master: consistent_stopped:2:global:none:06/06/27/08/31/37 249:rccstgrp0:0000020061413ABA:clusterA:0000020061413ABA:clusterA::empty:0 :empty_group 250:jdemo_BA_cons2:0000020060406746:clusterB:0000020061413ABA:clusterA:master: inconsistent_stopped:1:metro:none:06/06/27/08/31/37 251:BA_cons1:0000020060406746:clusterB:0000020061413ABA:clusterA:master: consistent_stopped:4:metro:none:06/06/27/08/31/37 252:AB_cons2:0000020061413ABA:clusterA:0000020060406746:clusterB::empty:0 :empty_group:none:06/06/27/08/31/37 253:AB_cons1:0000020061413ABA:clusterA:0000020060406746:clusterB:aux: consistent_stopped:3:global:none:06/06/27/08/31/37 254:AA_cons2:0000020061413ABA:clusterA:0000020061413ABA:clusterA::empty:0 :empty_group:none:06/06/27/08/31/37 255:AA_cons1:0000020061413ABA:clusterA:0000020061413ABA:clusterA:master: consistent_synchronized:2:global:none:06/06/27/08/31/37
lsrcconsistgrp -delim : 254
The detailed resulting output:
id:254
name:rccstgrp0
master_cluster_id:0000010030A007E5
master_cluster_name:clusterA
aux_cluster_id:0000010030A007E5
aux_cluster_name:clusterA
primary:master
state:consistent_synchronized
relationship_count:1
freeze_time:06/06/27/08/31/37
status:online
sync:in_sync
copy_type:activeactive
cycle_period_seconds:300
cycling_mode:none
RC_rel_id:2
RC_rel_name:aaa