You can use the command-line
interface (CLI) to start and stop Metro Mirror, Global Mirror, or active-active
consistency-group copy processes.
To start and stop Metro Mirror, Global Mirror, or active-active
consistency-group copy processes, complete these steps:
- To start a Metro Mirror, Global Mirror, or active-active
consistency-group copy process, set the direction of copy if it is undefined and optionally mark the
secondary volumes of the consistency group as clean. Run the
startrcconsistgrp command.
For example, enter:
startrcconsistgrp rc_consist_group_id
where
rc_consist_group_id is the ID of the consistency group to start
processing.
Note: If you are starting an active-active consistency group, all relationships in the
group must be in idling state for the consistency group to
start.
- To stop the copy process for a Metro Mirror or Global Mirror consistency
group, run the stoprcconsistgrp command.
For example, enter:
stoprcconsistgrp rc_consist_group_id
Where rc_consist_group_id is the
ID of the consistency group that you want to stop processing.
If
the group is in a consistent state, you can also use this command
to enable write access to the secondary volumes in the group.
- To stop the copy process for an active-active
consistency group, the following conditions must be met:
- The -access parameter is specified.
- The state of the relationships in the consistency group is
consistent_copying.
- The status of the relationships in the consistency group is
primary_offline.
For example, enter:
stoprcconsistgrp rc_consist_group_id -access
Where rc_rel_id is the ID of the
active-active consistency group that you want to stop. The -access parameter
allows 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.