Creating Metro Mirror or Global Mirror relationships using the CLI

You can use the command-line interface (CLI) to create Metro Mirror or Global Mirror relationships.

To create Metro Mirror or Global Mirror relationships, perform these steps:

  1. To create a Metro Mirror relationship, run the svctask mkrcrelationship command. For example, enter:
    svctask mkrcrelationship -master master_vdisk_id 
    -aux aux_vdisk_id -cluster cluster_id

    Where master_vdisk_id is the ID of the master VDisk, aux_vdisk_id is the ID of the auxiliary VDisk, and cluster_id is the ID of the remote cluster.

  2. To create a new Global Mirror relationship, run the svctask mkrcrelationship command with the -global parameter. For example, enter:
    svctask mkrcrelationship -master master_vdisk_id 
    -aux aux_vdisk_id -cluster cluster_id -global

    Where master_vdisk_id is the ID of the master VDisk, aux_vdisk_id is the ID of the auxiliary VDisk, and cluster_id is the ID of the remote cluster.

Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.