You can use the
command-line interface (CLI) to start and stop stand-alone Metro Mirror, Global Mirror, or active-active
relationships. Relationships that are members of consistency groups must be started and stopped by
using the consistency group CLI commands.
Complete these steps to start or stop
Metro Mirror, Global Mirroror active-active
relationships:
- To start a Metro Mirror,Global Mirror, or an active-active
relationship, run the startrcrelationship command.
For example, enter the following command:
startrcrelationship rc_rel_id
Where
rc_rel_id is the ID of the relationship that you want to start in a stand-alone
relationship.
Note: Active-active relationships can be started only if they have a state of
idling.
- To stop a Metro Mirror or Global Mirror relationship,
run the stoprcrelationship command. This
command applies to a stand-alone relationship.
For example, enter the following command:
stoprcrelationship rc_rel_id
Where rc_rel_id is the ID of the
stand-alone relationship that you want to stop mirroring I/O.
- To stop an active-active relationship,
the following conditions must be met:
- The -access parameter is specified.
- The state of the relationship is consistent_copying.
- The status of the relationship is primary_offline.
For example, enter the following command:
stoprcrelationship rc_rel_id-access
Where rc_rel_id is the ID of the active-active relationship that you want to
stop. The -access parameter gives hosts read or write access to a volume in an
active-active relationship that contains an older but a consistent image that can be used in a
disaster recovery scenario.