Modifying Metro Mirror, Global Mirror, or active-active relationships using the CLI

You can use the command-line interface (CLI) to modify certain attributes of Metro Mirror, Global Mirror, or active-active relationships. You can change only one attribute at a time for each command submission.

To modify Metro Mirror, Global Mirror, or active-active relationships, run the chrcrelationship command.

Run the chrcrelationship command to change the name of a Metro Mirror, Global Mirror, or active-active relationship.
For example, to change the relationship name, enter:
chrcrelationship -name new_rc_rel_nameprevious_rc_rel_name
Where new_rc_rel_name is the new name of the relationship and previous_rc_rel_name is the previous name of the relationship.
Or, run the chrcrelationship command to remove a relationship from whichever consistency group it is a member of. For example, enter:
chrcrelationship -force -noconsistgrp rc_rel_name/id
Where rc_rel_name/id is the name or ID of the relationship.
Important: Using the -force parameter might result in a loss of access. Use it only under the direction of your support center.