Chapter 10. Copy services 591
The new consistency group does not contain any relationships and is in the Empty state. You
can add MM/GM relationships to the group (upon creation or afterward) by using the
chrelationship command.
10.9.6 Creating a Metro Mirror/Global Mirror relationship
Use the mkrcrelationship command to create a new MM/GM relationship. This relationship
persists until it is deleted.
The auxiliary volume must be equal in size to the master volume or the command fails. If both
volumes are in the same system, they must be in the same I/O Group. The master and
auxiliary volume cannot be in an existing relationship, and they cannot be the target of a
FlashCopy mapping. This command returns the new relationship (relationship_id) when
successful.
When the MM/GM relationship is created, you can add it to an existing Consistency Group, or
it can be a stand-alone MM/GM relationship if no Consistency Group is specified.
The lsrcrelationshipcandidate command
Use the lsrcrelationshipcandidate command to list the volumes that are eligible to form an
MM/GM relationship.
When the command is issued, you can specify the master volume name and auxiliary system
to list the candidates that comply with the prerequisites to create a MM/GM relationship. If the
command is issued with no parameters, all of the volumes that are not disallowed by another
configuration state, such as being a FlashCopy target, are listed.
10.9.7 Changing Metro Mirror/Global Mirror relationship
Use the chrcrelationship command to modify the following properties of an MM/GM
relationship:
Change the name of an MM/GM relationship.
Add a relationship to a group.
Remove a relationship from a group using the -force flag.
10.9.8 Changing Metro Mirror/Global Mirror consistency group
Use the chrcconsistgrp command to change the name of an MM/GM Consistency Group.
10.9.9 Starting Metro Mirror/Global Mirror relationship
Use the startrcrelationship command to start the copy process of an MM/GM relationship.
Optional parameter: If you do not use the -global optional parameter, a Metro Mirror
relationship is created rather than a Global Mirror relationship.
Adding an MM/GM relationship: When an MM/GM relationship is added to a
Consistency Group that is not empty, the relationship must have the same state and copy
direction as the group to be added to it.