Set Replication-Primary-Volume - HP P2000 G3 Cli Reference Manual

Msa system
Hide thumbs Also See for P2000 G3:
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 For this example, assume that:
Replication set RS has the primary volume Data and the secondary volume rData.
Primary volume Data resides in the primary system, System1.
Secondary volume rData resides in the secondary system, System2.
On System1, view the status of replication set RS:
# show replication-sets RS
Replication Set [Name (RS) Serial Number (<SN>) ] Primary Volume:
Name
-----------------------------------------------------------------------
Data
rData ...
On System1, unmap the primary volume from hosts.
...
Status ... Location Primary-Volume ... Primary-Volume-Status
...
Online ... Local
Online ... Remote
Data
... Online
Data
... Online
HP P2000 G3 MSA System CLI Reference Guide 171

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents