Ending Global Mirror processing (no script)

Complete this task to end Global Mirror processing that is not being controlled through a script.

Before you begin

To use this task your Global Mirror processing cannot be controlled through a script.

About this task

You can use this task when you must end Global Mirror processing to change the topology of a Global Mirror session or when you have time (because of a rolling disaster) to end processing even though a disaster has occurred. The rmgmir command is used to end Global Mirror processing.
Note: This command might interrupt the formation of a consistency group. If, due to failures, this command cannot complete, an error code is issued. If this occurs, examine the error code and follow your local procedures for problem determination. In most cases, correcting the error and reissuing the rmgmir command is successful. However, if reissuing the rmgmir command fails and Global Mirror absolutely must be ended, the rmgmir command can be reissued with the -force parameter.

Complete the following steps to end Global Mirror processing. The example commands displayed in this task are shown in two formats. The first format shows the type of information the command requires. The second format provides the command with declared values for the variables.

Procedure

  1. Issue the rmgmir command to end Global Mirror processing. Enter the rmgmir command at the dscli command prompt using the following parameters and variables:

    dscli> rmgmir -dev storage_image_ID -lss LSS_ID -session session_ID Master_Control_Path_LSS_ID:Subordinate_Control_Path_LSS_ID

    Example

    dscli> rmgmir -dev IBM.2107-75FA120 -lss 10 
    -session 01 IBM.2107-75FA120/00:IBM.2107-75FA150/00
  2. Enter Y in response to each message that requests that you confirm that you want the specified session stopped. A message like the following example appears when you process the rmgmir command.
    Are you sure you want to close Session ID 01? [y/n]: Y
    Global Mirror for Session ID 01 closed successfully.