stoprcconsistgrp

You can use the stoprcconsistgrp command to stop the copy process in a Remote Copy consistency group. It may 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
Specifies the access flag which gives the user write access to a consistent secondary. This enables write access to the secondary VDisks in the group if the group is in a consistent state.
rc_consist_group_id | rc_consist_group_name
Specifies the ID or name of the consistency group to stop.

Description

This command applies to a consistency group. You can issue this command to stop a consistency group that is copying from primary to secondary.

If the consistency group is in an inconsistent state, any copy operation stops and will not resume until you issue the svctask startrcconsistgrp command. Write activity will no longer be copied from the primary to the secondary virtual disks belonging to the relationships in the group. For a consistency group in the ConsistentSynchronized state, this command causes a consistency freeze.

When a consistency group is in a consistent state (for example, in the ConsistentStopped, ConsistentSynchronized, or ConsistentDisconnected state) then the -access argument may be used with the stoprcconsistgrp command to enable write access to the secondary virtual disks within that group.

Initial state Final state Notes
InconsistentStopped InconsistentStopped
InconsistentCopying InconsistentStopped
ConsistentStopped ConsistentStopped -access permitted
ConsistentSynchronized ConsistentStopped -access permitted
Idling ConsistentStopped -access permitted
IdlingDisconnected unchanged A relationship may move to stopped state when reconnected.
InconsistentDisconnected InconsistentStopped On the cluster issuing the svctask stoprcconsistgrp command.
InconsistentDisconnected unchanged On the disconnected cluster.
ConsistentDisconnected ConsistentStopped On the cluster issuing the svctask stoprcconsistgrp command, -access permitted.
ConsistentDisconnected unchanged On the disconnected cluster, -access permitted.

Possible failures

Examples

An invocation example

svctask stoprcconsistgrp rccopy1