The stoprcconsistgrp command stops the copy process for a Metro Mirror or Global Mirror consistency group. This command can also be used to enable write access to the secondary VDisks in the group if the group is in a consistent state.
>>- svctask -- -- stoprcconsistgrp -- --+-----------+-- --------> '- -access -' >--+- rc_consist_group_id ---+--------------------------------->< '- rc_consist_group_name -'
This command applies to a consistency group. You can issue this command to stop processing on a consistency group that is copying from primary VDisks to secondary VDisks.
If the consistency group is in an inconsistent state, all copy operations stop and do not resume until you issue the svctask startrcconsistgrp command. For a consistency group in the consistent_synchronized state, this command causes a consistency freeze.
| Initial state | Final state | Notes® |
|---|---|---|
| inconsistent_stopped | inconsistent_stopped | If access is specified, the command is rejected. |
| inconsistent_copying | inconsistent_stopped | If access is specified, the command is rejected with no effect and the relationship remains in the inconsistent_copying state. |
| consistent_stopped | consistent_stopped | If access is specified, the final state is idling. |
| consistent_synchronized | consistent_stopped | If access is specified, the final state is idling. If access is not specified, the final state is consistent_stopped. |
| idling | idling | Remains in idling state whether access is specified or not. |
| idling_disconnected | unchanged | If specified without access, the relationship/group remains in idling_disconnected state. If the clusters reconnect, the relationship/group is in either inconsistent_stopped or consistent_stopped state. |
| inconsistent_disconnected | inconsistent_stopped | The command is rejected, with or without the access flag. |
| consistent_disconnected | consistent_stopped | The command is rejected if specified without access. If specified with access, the relationship/group moves to idling_disconnected. |
An invocation example
svctask stoprcconsistgrp rccopy1
The resulting output
No feedback