Starting and stopping Metro Mirror, Global Mirror, or active-active relationships using the CLI

You can use the command-line interface (CLI) to start and stop stand-alone Metro Mirror, Global Mirror, o active-active relationships. Relationships that are members of consistency groups must be started and stopped using the consistency group CLI commands.

Complete these steps to start or stop Metro Mirror, Global Mirroror active-active relationships:

  1. To start a Metro Mirror,Global Mirror, or an active-active relationship, run the startrcrelationship command.
    For example, enter:
    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.
  2. To stop a Metro Mirror or Global Mirror relationship, run the stoprcrelationship command. This command applies to a stand-alone relationship.

    For example, enter:

    stoprcrelationship rc_rel_id

    Where rc_rel_id is the ID of the stand-alone relationship that you want to stop mirroring I/O.

  3. 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:

    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 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.