Removing the Global Copy pair relationship

Complete this task to remove Global Copy relationships that existed with the volumes that were part of your Global Mirror environment. This task is the fourth step in removing the Global Mirror environment from your system.

Before you begin

Ensure that you have completed the following tasks before you start this task; otherwise, this task fails:
  • Remove the volumes that are associated with each Global Mirror session that you have closed.
  • End the Global Mirror sessions that are part of your Global Mirror environment.
  • Remove FlashCopy® relationships that exist with the volumes that were part of your Global Mirror environment.

About this task

The purpose of this task is to remove the Global Copy relationships for each pair of source volumes on your primary site and the target volumes on your secondary site. There might be several LSSs that are involved and the Global Copy relationships must be removed within each LSS. This requires that you issue the rmpprc command for each LSS until all relationships are removed.

Complete the following steps to remove Global Copy pair relationships that exist with the volumes that were part of your Global Mirror environment. The example commands 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.

Note: You can issue the commands that are described in the steps either for aDS8000 model or for a DS6000 model, but for the DS6000 model, the storage image ID is different.

Procedure

  1. Issue the lspprc command to check the status information for each Global Copy volume relationship in the list. Enter the lspprc command at the dscli command prompt with the parameters and variables shown as follows:

    dscli> lspprc -dev storage_image_ID -remotedev storage_image_ID -l SourceVolumeID:TargetVolumeID.

    Example

    dscli> lspprc -dev IBM.2107-75FA120
    -remotedev IBM.2107-75FA150 -l 0100:0100
    

    Use the -l parameter to provide a more detailed report about the Global Copy volume relationships.

  2. Analyze the list of volumes that have been part of your Global Mirror environment, and ensure that these are the volumes from which the Global Copy relationships must be removed.
  3. Issue the rmpprc command to remove the Global Copy volume relationships. Enter the rmpprc command at the dscli command prompt with the following parameters and variables:

    dscli> rmpprc -dev storage_image_ID -remotedev storage_image_ID SourceVolumeID:TargetVolumeID

    Example

    dscli> rmpprc -dev IBM.2107-75FA120
    -remotedev IBM.2107-75FA150 0100:0100
  4. Enter Y in response to each message to confirm that you want to remove the specified Global Copy pair. A message like the following lines is displayed for each Global Copy pair that is being removed when you process the rmflash command.
    Are you sure you want to remove PPRC pair 0100:0100? [y/n]: Y
    
    Remote Mirror and Copy pair IBM.2107-75FA120/0100:0100 
    successfully removed.
  5. Repeat Steps 3 and 4 for all the volumes that have Global Copy relationships in the LSSs that were part of your Global Mirror environment.