rmrcconsistgrp

Use the rmrcconsistgrp command to delete an existing Metro Mirror, Global Mirror, or active-active consistency group.

Syntax

 rmrcconsistgrp    [  -force  ]   {  rc_consist_group_id  |  rc_consist_group_name  }

Parameters

-force
(Optional) Specifies that you want the system to remove any relationship belonging to a group before the consistency group is deleted. The relationship itself is not deleted; it becomes a stand-alone relationship.
Note: The -force parameter must be used to delete a consistency group when the consistency group has any Metro Mirror, Global Mirror, or active-active relationship that is associated with it. If you do not use the -force parameter, the command fails.
rc_consist_group_id | rc_consist_group_name
(Required) Specifies the ID or the 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, the consistency group is only deleted on the cluster that is connected. When the clusters reconnect, the consistency group is automatically deleted on the other cluster. Alternatively, if the clusters are disconnected, and you still want to remove the consistency group on both clusters, you can issue the 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 removes the relationships from the consistency group before the group is deleted. These relationships become stand-alone relationships. The state of these relationships is not changed by the action of removing them from the consistency group.

An invocation example

rmrcconsistgrp rctestone

The resulting output:

No feedback