HP MSA 1040 HP MSA 1040 CLI Reference Guide (762782-001, March 2014) - Page 172
set replication-primary-volume, replication-volume, replication-set, snapshot
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 172 highlights
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 The 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. The 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 The 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. 172