HP XP Command View Advanced Edition Software User Manual
Page 220
![background image](/manuals/397820/220/background.png)
Command line interface commands
220
number
|pvolportname=port-name]] pvolpoolid=pool-ID svolarraytype=model
svolserialnum=serial-number svoldevnum=device-number [svolportid=port-
number
|svolportname=port-name]] pvolpoolid=pool-ID [replicationfunction=
{BusinessCopy|ContinuousAccessSync|ContinuousAccessAsync|Snapshot|ContinuousAccessJ
ournal
}] [munum=Mu-number] [fencelevel=fence-level] [copytracksize=copy-
pace]
[pairoption=suspend]
Command execution example 3: This example creates a RAID Manager configuration definition
file and a copy group and then creates a copy pair for XP Continuous Access Synchronous
Software in the copy group.
For the primary volume (P-VOL), specify LDEV 11, model number XP1024 and serial number
15001
. The ID of the host that recognizes the primary volume is 5, the HORCM instance number is
15
, and the port number is 50001. For the secondary volume (S-VOL), specify LDEV 128, model
number XP1024, and serial number 35001. The host ID is 4, the HORCM instance number is 15,
the port number is 50002, and the copy pace is 14.
hdvmcli AddReplication -o "D:\logs\XP1024 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
pvolObjectID=*****
pvolPoolID=-1
svolSerialNumber=35001
svolArrayType=XP128
svolDevNum=128
svolObjectID=*****
svolPoolID=-1
fenceLevel=Never
replicationFunction=ContinuousAccessSync