HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

Parameter values to obtain in advance
replicationgroupid, pvolserialnum, pvoldevnum, svolserialnum, and svoldevnum:
Obtain the values of these parameters from the execution result of the GetHost command. Specify
the value of replicationGroupID that is displayed as An instance of ReplicationGroup
in the replicationgroupid parameter, the value of pvolSerialNumber that is displayed as An
instance of ReplicationInfo in the pvolserialnum parameter, the value of pvolDevNum
in the pvoldevnum parameter, the value of svolSerialNumber in the svolserialnum parameter,
and the value of svolDevNum in the svoldevnum parameter.
svolsequencenum: Obtain the parameter value from the execution result of the GetStorageArray
command for the storage system that contains the S-VOL. Specify the value of sequenceNumber
that is displayed as An instance of StorageArray in the svolsequencenum parameter.
Command execution example
This example changes to the suspend status (split) the status of the copy pair for Business Copy
Software that is defined in the copy group with copy group number 12. The primary volume (P-VOL)
of the copy pair is the logical device with LDEV number 20 in the storage system with serial number
65010001. The secondary volume is the logical device with LDEV number 21 in the storage system
with serial number 65010001.
hdvmcli ModifyReplication -o "D:\logs\ModifyReplication.log"
"replicationgroupid=12" "operation=split" "pvolserialnum=65010001"
"pvoldevnum=20" "svolserialnum=65010001" "svoldevnum=21"
Command execution result
RESPONSE:
An instance of ReplicationGroup
objectID=*****
replicationGroupID=12
groupName=HCMD_CG000d
pvolHostID=1
pvolInstanceNumber=11
pvolPortNumber=50,000
pvolHORCMMONHostName=192.168.32.63
pvolHORCMMONHostName=192.168.32.63
svolHostID=3
svolInstanceNumber=12
svolPortNumber=50,001
svolHORCMMONHostName=192.168.32.64
svolHORCMINSTHostName=192.168.32.64
replicationFunction=BusinessCopy
copyTrackSize=15
List of 1 ReplicationInfo elements:
An instance of ReplicationInfo
objectID=*****
pvolSerialNumber=65010001
pairName=HCMD_CP0001
pvolArrayType=XP1024
pvolDevNum=20
displayPvolDevNum=00:14
pvolObjectID=*****
CLI Reference Guide 279