Deleting a single volume Metro Mirror relationship

Complete this task to delete the single volume Metro Mirror relationship whether it exists on the source or the target volume.

There might be times when a communication problem occurs between your primary server and your secondary server or visa versa. If this happens during the processing of a rmpprc command, only part of the removal transaction is completed. The removal takes place even though the error message might indicate that the entire process has failed.

To correct this situation and to remove the other part of the pair relationship, you must reissue the rmpprc command for each volume that was not removed using the following parameters:
  • The -at src parameter, if the pair relationship has not been removed from the source volumes.
  • The -at tgt parameter, if the pair relationship has not been removed from the target volumes.
  • The -unconditional parameter with the -at src or -at tgt parameter; otherwise, the transaction fails.
When the transaction completes, the affected volume is returned to a simplex state and becomes available for use in another pair relationship.

Perform the following steps to delete the Metro Mirror relationship with DS CLI commands. 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.

  1. Issue the lspprc command to generate a report about Metro Mirror relationships. This can help you determine which Metro Mirror relationships must be deleted. Enter the lspprc command at the dscli command prompt with the following parameters and variables:

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

    Example

    dscli>lspprc -dev IBM.1750-68FA120 
    -remotedev IBM.1750-68FA150 -l 0100:0100 0101:0101  
  2. Issue the rmpprc command to delete the pair relationship that the volume still maintains. Enter the rmpprc command at the dscli command prompt with the following parameters and variables:
    Source volume
    dscli>rmpprc -dev storage_image_ID -at src -unconditional SourceVolumeID

    Example

    dscli>rmpprc -dev IBM.1750-68FA120 -at src -unconditional  0100
    Target volume
    dscli>rmpprc
    -dev storage_image_ID -at tgt -unconditional TargetVolumeID

    Example

    dscli>rmpprc -dev IBM.1750-68FA150 -at tgt -unconditional  0100
    Notes:
    1. The -dev parameter must contain the value of the secondary server when you are removing the pair relationship from a target volume.
    2. The management console must be able to communicate with the secondary server for this command to succeed.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.