You can use the command-line
interface (CLI) to create Metro
Mirror, Global Mirror, or active-active
consistency groups.
About this task
To create Metro
Mirror, Global Mirror, or active-active
consistency groups, complete these steps:
Procedure
- To create a Metro
Mirror, Global Mirror, or active-active
consistency group, run the mkrcconsistgrp command. For example, enter:
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.
- To add Metro
Mirror, Global Mirror,
or active-active relationships to the group, run the chrcrelationship command. For example, enter:
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.