Creating Metro Mirror or Global Mirror consistency groups using the CLI

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

To create Metro Mirror or Global Mirror consistency groups, perform these steps:

  1. To create a Metro Mirror or Global Mirror consistency group, run the svctask mkrcconsistgrp command. For example, enter:
    svctask mkrcconsistgrp -name new_name -cluster cluster_id

    Where new_name is the name of the new consistency group and cluster_id is the ID of the remote cluster for the new consistency group. If -cluster is not specified, a consistency group is created only on the local cluster. The new consistency group does not contain any relationships and will be in the empty state.

  2. To add Metro Mirror or Global Mirror relationships to the group, run the svctask chrcrelationship command. For example, enter:
    svctask chrcrelationship -consistgrp consist_group_name rc_rel_id 

    Where consist_group_name is the name of the new consistency group to assign the relationship to and rc_rel_id is the ID of the relationship.

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