Creating a Metro Mirror relationship

Complete this task to create a Metro Mirror relationship between a source volume and target volume.

Before you begin, ensure that you have met the following conditions:

Metro Mirror is a function of a storage server that constantly updates a target copy of a volume to match changes made to a source volume. The source and target volumes can be on the same storage unit or on separate storage units. Metro Mirror creates the remote mirror and copy relationship in a synchronous manner.

Metro Mirror functions run on the DS6000™ storage unit and are supported on many operating systems. For example, if you set up and configure your DS6000 to use i5/OS®, you can use Metro Mirror to create a copy of a System i™ disk pool on a separate DS6000, typically in a remote location.

Perform the following steps to create Metro Mirror relationships between the source volumes and target volumes.

  1. Issue the lsfbvol command (for fixed blocked (FB) volumes) or the lsckdvol command (for count key data (CKD) volumes) to display which volumes are available for Metro Mirror relationships on the source and target LSSs. A report is displayed that shows the availability of the volumes.
  2. Issue the mkpprc command to create a Metro Mirror relationship between a source volume and a target volume.
    The mkpprc command must contain the following parameters and variables: dscli>mkpprc -dev storage_imag_ID -remotedev storage_image_ID -type mmir SourceVolumeID:TargetVolumeID.
    Note:
    • The -remotedev parameter specifies the ID of the secondary storage unit.
    • The -type mmir parameter specifies that you want to establish one or more Metro Mirror volume relationships. Metro Mirror creates the remote mirror and copy relationship in a synchronous manner.
    • The shortened version of the SourceVolumeID:TargetVolumeID parameter is shown (value = 0100:0100) because the example uses the fully qualified -dev storage_image_ID and -remotedev storage_image_ID parameters. If the fully qualified -dev and -remotedev parameters were not used, you must use the fully qualified SourceVolumeID:TargetVolumeID value. For example: IBM.1750-68FA120/0100:IBM.1750-68FA150/0100 .
    Example
    dscli>mkpprc -dev IBM.1750-68FA120 -remotedev IBM.1750-75FA150 -type mmir
     0100:0100

    A confirmation message is issued for each successful Metro Mirror volume association that is created.

  3. Issue the lspprc command to view the status information of each Metro Mirror relationship in the list. Enter the lspprc command at the dscli command prompt with parameters and variables as follows:

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

    dscli>lspprc -dev IBM.1750-68FA120 -remotedev IBM.1750-68FA150 -s 0100:0100
    0101:0101  
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.