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:
- 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.
- 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.