HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1.1 CLI Reference Guide (TB581-96066, September 2011)
Parameter values to obtain in advance
replicationgroupid, pvolserialnum, pvoldevnum, svolserialnum, and svoldevnum:
Obtain the parameter values 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 1
This example deletes a copy pair for Continuous Access Synchronous Software that has been defined
in copy group 8. The primary volume (P-VOL) of the copy pair is the logical device with LDEV number
10 in the storage system with serial number 65010001. The secondary volume (S-VOL) is the logical
device with LDEV number 11 in the storage system with sequence number 0012.
hdvmcli DeleteReplication -o "D:\logs\DeleteReplication.log"
"replicationgroupid=8" "pvolserialnum=65010001" "pvoldevnum=10"
"svolsequencenum=0012" "svoldevnum=11"
Command execution result 1
The execution result displays the remaining copy pairs after deleting the specified copy pair.
RESPONSE:
An instance of ReplicationGroup
objectID=*****
replicationGroupID=7
groupName=HCMD_CG0007
pvolHostID=1
pvolInstanceNumber=11
pvolPortNumber=50,001
pvolHORCMMONHostName=192.168.32.63
pvolHORCMMONHostName=192.168.32.63
svolHostID=2
svolInstanceNumber=12
svolPortNumber=50,002
pvolHORCMMONHostName=192.168.32.63
svolHORCMINSTHostName=192.168.32.64
replicationFunction=ContinuousAccessSync
fenceLevel=Never
copyTrackSize=15
List of 1 ReplicationInfo elements:
An instance of ReplicationInfo
objectID=*****
pairName=HCMD_CP0004
pvolSerialNumber=65010001
pvolArrayType=XP1024
pvolDevNum=12
CLI Reference Guide 275