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

Command execution example 3
This example creates a RAID Manager configuration definition file and a copy group and then creates
a copy pair for Continuous Access Synchronous Software in the copy group. As the primary volume
(P-VOL), specify the logical device with LDEV number 11 in the storage system with model number
XP1024 and serial number 15001. The ID of the host that recognizes the primary volume is 5; the
instance number of the HORCM that manages the primary volume is 15; and the port number is
50001.As the secondary volume (S-VOL), specify the logical device with LDEV number 128 in the
storage system with model number XP1024 and serial number 35001. The ID of the host that
recognizes the secondary volume is 4; the instance number of the HORCM that manages the secondary
volume is 15; and the port number is 50002. Specify 14 as the copy pace.
hdvmcli AddReplication -o "D:\logs\AddReplication.log" "pvolhostid=5"
"pvolinstancenum=15" "pvolportnum=50001" "svolhostid=4" "svolinstancenum=15"
"svolportnum=50002" "pvolarraytype=XP1024" "pvolserialnum=15001"
"pvoldevnum=11" "svolarraytype=XP128" "svolserialnum=35001" "svoldevnum=128"
"replicationfunction=ContinuousAccessSync" "copytracksize=14"
Command execution result 3
RESPONSE:
An instance of ReplicationGroup
objectID=*****
replicationGroupID=2
groupName=HCMD_CG0002
pvolHostID=5
pvolInstanceNumber=15
pvolPortNumber=50,001
pvolHORCMMONHostName=192.168.32.63
pvolHORCMINSTHostName=192.168.32.63
svolHostID=4
svolInstanceNumber=15
svolPortNumber=50.002
pvolHORCMINSTHostName=192.168.32.63
svolHORCMINSTHostName=192.168.32.64
replicationFunction=ContinuousAccessSync
fenceLevel=Never
copyTrackSize=14
List of 1 ReplicationInfo elements:
An instance of ReplicationInfo
objectID=*****
pairName=HCMD_CP0000
pvolSerialNumber=15001
pvolArrayType=XP1024
pvolDevNum=11
displayPvolDevNum=00:0B
pvolObjectID=*****
pvolPoolID=-1
svolSerialNumber=35001
svolArrayType=XP128
svolDevNum=128
displaySvolDevNum=00:80
svolObjectID=*****
svolPoolID=-1
fenceLevel=Never
CLI Reference Guide 271