Creating Metro Mirror, Global Mirror, or active-active relationships by using the CLI

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

About this task

Complete these steps to create Metro Mirror, Global Mirror, or active-active relationships:

Procedure

  1. To create a Metro Mirror relationship, run the mkrcrelationship command. For example, enter:
    mkrcrelationship -master master_volume_id 
    -aux aux_volume_id -cluster system_id

    Where master_volume_id is the ID of the master volume, aux_volume_id is the ID of the auxiliary volume, and system_id is the ID of the remote clustered system.

  2. To create a new Global Mirror relationship, run the mkrcrelationship command with the -global parameter. For example, enter:
    mkrcrelationship -master master_volume_id 
    -aux aux_volume_id -cluster system_id -global

    Where master_volume_id is the ID of the master volume, aux_volume_id is the ID of the auxiliary volume, and system_id is the ID of the remote system.

  3. To create a new relationship with cycling enabled:
    mkrcrelationship -master books_volume -aux books_volume -cluster DR_cluster -global -cyclingmode multi
    Note: Add change volumes to a relationship by issuing chrcrelationship -auxchange or chrcrelationship -masterchange.
  4. To create a new active-active relationship, run the mkrcrelationship command with the -activeactive parameter. For example, enter the following command:
    mkrcrelationship -master master_volume_id -aux aux_volume_id -cluster system_id -activeactive

    Where master_volume_id is the ID of the master volume, aux_volume_id is the ID of the auxiliary volume, and system_id is the ID of the remote system.