HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

How to obtainParameter nameNo.
Execute the GetStorageArray (subtarget=Pool) with Pool specified for
the subtarget parameter, the model name specified for the model parameter,
and the serial number specified for the serialnum parameter.
The execution result of the GetStorageArray (subtarget=Pool) command
displays the values of poolFunction and PoolID under An instance of
Pool.
If you execute the command with the values of pvolarraytype and
pvolserialnum recorded in No. 5 specified for the model and serialnum
parameters, see the output under the line that reads An instance of Pool
for which the poolFunction value is the same as the type of copy pair to be
created. The poolID value corresponds to the pvolpoolid parameter value.
If you execute the command with the values of svolarraytype and
svolserialnum recorded in No. 5 specified for the model and serialnum
parameters, see the output under the line that reads An instance of Pool
for which the poolFunction value is the same as the type of copy pair to be
created. The poolID value corresponds to the svolpoolid parameter value.
pvolpoolid
svolpoolid
6
Command execution example 1
This example creates a copy pair for Continuous Access Synchronous Software in an existing copy
group. Create a copy pair in the copy group with copy group number 0. As the primary volume
(P-VOL), specify the logical device with LDEV number 5 in the storage system with model number
XP1024 and serial number 65010001. As the secondary volume (S-VOL), specify the logical device
with LDEV number 10 in the storage system with model number XP1024 and serial number 65010012.
hdvmcli AddReplication -o "D:\logs\AddReplication.log"
"replicationgroupid=0"
"pvolarraytype=XP1024" "pvolserialnum=65010001" "pvoldevnum=5"
"svolarraytype=XP1024" "svolserialnum=65010012" "svoldevnum=10"
"replicationfunction=ContinuousAccessSync" "fencelevel=Data"
Command execution result 1
RESPONSE:
An instance of ReplicationGroup
objectID=*****
replicationGroupID=0
groupName=HCMD_CG0003
pvolHostID=1
pvolInstanceNumber=11
pvolPortNumber=50,001
pvolHORCMMONHostName=192.168.32.63
pvolHORCMINSTHostName=192.168.32.63
svolHostID=1
svolInstanceNumber=12
svolPortNumber=50,002
svolHORCMMONHostName=192.168.32.64
svolHORCMMONHostName=192.168.32.64
replicationFunction=ContinuousAccessSync
fenceLevel=Data
Command reference302