stoprcconsistgrp

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.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svctask -- -- stoprcconsistgrp -- --+-----------+-- -------->
                                        '- -access -'      

>--+- rc_consist_group_id ---+---------------------------------><
   '- rc_consist_group_name -'   

Parameters

-access
(Optional) Allows write access to consistent secondary VDisks in the consistency group.
rc_consist_group_id | rc_consist_group_name
(Required) Specifies the ID or the name of the consistency group to stop all processing for.

Description

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.

When a consistency group is in a consistent state (for example, in the consistent_stopped, consistent_synchronized, or consistent_disconnected state) you can issue the access parameter with the stoprcconsistgrp command to enable write access to the secondary virtual disks within that group. Table 1 shows consistency group initial and final states:
Table 1. stoprcconsistgrp consistency group states
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
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.