rmrcrelationship

You can use the rmrcrelationship command to delete an existing Remote Copy relationship.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svctask -- -- rmrcrelationship -- --+- rc_rel_id ---+------><
                                        '- rc_rel_name -'

Parameters

rc_rel_id | rc_rel_name
Specifies the ID or name of the relationship. A relationship cannot be deleted if it is part of a consistency group.

Description

This command deletes the relationship that is specified.

Deleting a relationship only deletes the logical relationship between the two virtual disks, it does not affect the virtual disks themselves.

If the relationship is disconnected at the time that the command is issued, then the relationship is only deleted on the cluster on which the command is being run. When the clusters reconnect, then the relationship is automatically deleted on the other cluster. Alternatively, if the clusters are disconnected, and you still wish to remove the relationship on both clusters, you can issue the rmrcrelationship command independently on both of the clusters.

A relationship cannot be deleted if it is part of a consistency group. You must first remove the relationship from the consistency group using the svctask chrcrelationship -force command.

If you delete an inconsistent relationship, the secondary virtual disk will become accessible even though it is still inconsistent. This is the one case in which Remote Copy does not inhibit access to inconsistent data.

Possible failures

Examples

An invocation example

svctask rmrcrelationship rccopy1