Creating or removing change volumes
Remote-copy change volumes create periodic point-in-time copies of either the primary volumes or the secondary volumes. You can use the command-line interface to create, change, or remove change volumes.
Change volumes can be used in a number of cases with relationships:
- HyperSwap relationships and relationships with cycling modes set to Multiple must always be configured with change volumes.
- Metro Mirror and Global Mirror with cycling mode set to None can optionally be configured with change volumes, which can be used to maintain a consistent secondary image when a relationship is resynchronized following an interruption to the replication.
Using the command-line interface
- If the master and auxiliary volumes do not exist, use the mkvdisk command to
create the change volumes. Master change volumes must be created with the following restrictions:
- Master change volumes must be in the same I/O group.
- Master change volumes must be the same logical size as the master volume of the relationship.
- Master change volumes must be in the same storage pool as the master volume.
- To create the change volume relationship on the master and auxiliary volumes, use the
chrcrelationship command:
chrcrelationship -masterchange master_change_vdisk_id | master_change_vdisk_name rc_relationship_id|rc_relationship_name
chrcrelationship -auxchange aux_change_vdisk_id | aux_change_vdisk_name rc_relationship_id|rc_relationship_name
- To remove change volumes, also use the chrcrelationship command:
chrcrelationship -nomasterchange rc_rel_id | rc_rel_name
The -masterchange and -nomasterchange parameters can be specified only when you run the chrcrelationship command on the master system for the relationship. The -auxchange and -noauxchange parameters can be specified only when you run the chrcrelationship command on the auxiliary system for the relationship.chrcrelationship -noauxchange rc_rel_id | rc_rel_name