Set Replication-Primary-Volume - HP P2000 Reference Manual

Msa system
Hide thumbs Also See for P2000:
Table of Contents

Advertisement

set replication-primary-volume

Description Changes the primary volume for a replication set. You must issue this command to each volume in
the replication set. If the volumes in a replication set have different primary-volume settings — for
example, if the primary volume was changed while one volume was offline — this results in a
primary-volume conflict. Change the primary volume on the secondary system, then, if possible,
change the primary volume on the primary system.
As part of this command, you can initiate a rollback to a specified snapshot to synchronize the new
primary volume with a known data image.
When the secondary volume becomes the primary volume, it only retains the replication images that
the primary volume had and deletes any images that the primary volume did not have. Because the
secondary volume may not have successfully replicated all the images associated with the primary
volume, the secondary volume might have a subset of the primary volume's images.
Syntax
set replication-primary-volume
[nowait]
primary-volume replication-volume
[set replication-set]
[snapshot snapshot]
volume replication-volume
Parameters nowait
Optional. Changing the primary volume can take the Storage Controller several minutes to complete.
This parameter allows that processing to continue in the background so the Management Controller
can process other commands.
primary-volume replication-volume
Name or serial number of the replication volume to designate as the new primary volume for the
replication set. If the name is not unique, you must specify the serial number.
set replication-set
Optional. Name or serial number of the replication set.
snapshot snapshot
Optional. Name or serial number of a snapshot to roll the replication volume data back to.
volume replication-volume
Name or serial number of a volume in the replication set whose primary volume you want to change.
If one of the volumes in the replication set is offline, this must specify the volume that remains online.
If the name is not unique across replication sets, specify the set parameter.
Example Change replication set RS1's primary volume from MV1 to MV2 and initiate a rollback to snapshot
RepSnap3:
# set replication-primary-volume volume MV1 primary-volume MV2 set RS1 snapshot
RepSnap3
See also
• show replication-sets
• show replication-volumes
• show snapshots
154 Alphabetical list of commands

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2000 g3

Table of Contents