rmrcconsistgrp

You can use the rmrcconsistgrp command to delete an existing Remote Copy consistency group.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svctask -- -- rmrcconsistgrp -- --+----------+-- ----------->
                                      '- -force -'

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

Parameters

-force
If the group contains any relationships and you do not specify the force flag, the command will fail. If one or more relationship belongs to the group and you do not specify the force flag, the deletion fails. If you specify the force flag, any relationships belonging to the group are removed from the group before it is deleted. The relationships themselves are not deleted; they become stand-alone relationships.
rc_consist_group_id | rc_consist_group_name
Specifies the ID or name of the consistency group to delete.

Description

This command deletes the specified consistency group. You can issue this command for any existing consistency group. If the consistency group is disconnected at the time that the command is issued, then the consistency group is only deleted on the cluster on which the command is being run. When the clusters reconnect, then the consistency group is automatically deleted on the other cluster. Alternatively, if the clusters are disconnected, and you still wish to remove the consistency group on both clusters, you can issue the svctask rmrcconsistgrp command separately on both of the clusters.

If the consistency group is not empty, the -force parameter is required to delete the group. This will remove the relationships from the consistency group before the group is deleted. These relationships then become standalone relationships. The state of these relationships is not changed by the action of removing them from the consistency group.

Possible failures

Examples

An invocation example

svctask rmrcconsistgrp rctestone