>>- svctask -- -- chrcrelationship -- --------------------------> >--+-------------------------+-- -------------------------------> '- -name -- new_name_arg -' >--+-----------------------------------------+-- ---------------> '- -consistgrp --+- consist_group_id ---+-' '- consist_group_name -' >--+----------+-- --+- rc_rel_name -+-------------------------->< '- -force -' '- rc_rel_id ---'
| Note: The -name, -consistgrp and -force are mutually exclusive parameters. That is, only one of these parameters can be specified per command line. |
This command can modify the specified attributes of the relationship supplied. Only one attribute can be modified at a time. That is, all four optional flags are mutually exclusive. In addition to changing the name of a consistency group, this command can be used for the following purposes.
This form of the modify relationship command will succeed in the connected or disconnected states. If the clusters are disconnected, then the relationship will only be removed from the consistency group on the local cluster, at the time the command is issued. When the clusters are reconnected, the relationship will automatically be removed from the consistency group on the other cluster. Alternatively, you can issue an explicit modify (chrcrelationship) command to remove the relationship from the group on the other cluster while it is still disconnected.
An invocation example
Change the name of the relationship rccopy1 to testrel
svctask chrcrelationship -name testrel rccopy1
Add relationship rccopy2 to group called newgroup.
svctask chrcrelationship -consistgrp newgroup rccopy2
Remove relationship rccopy3 from whichever consistency group it is a member of.
svctask chrcrelationship -force rccopy3The resulting output
No feedback
There is no feedback in any of these cases.