HP P2000 G3 MSA System CLI Reference Guide 171
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 ... Status ... Location Primary-Volume ... Primary-Volume-Status
-----------------------------------------------------------------------
Data ... Online ... Local Data ... Online
rData ... Online ... Remote Data ... Online
On
System1
, unmap the primary volume from hosts.
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...