HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
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
For the GetHost command, specify LogicalUnit for the subtarget
parameter, LDEV for the lusubinfo parameter, and VLDEV for the
ldevsubinfo parameter. Specify the name of the host that recognizes the
P-VOL or S-VOL for the hostname parameter, and then execute the
command.
The execution result of the GetHost command displays the vSerialNumber
and vDevNum values appear below An instance of VLDEV.
When the host that recognizes the P-VOL is specified, the P-VOL values are
as follows: the vSerialNumber value of An instance of VLDEV
corresponds to the confpvolserialnum parameter, and the vDevNum
value corresponds to the confpvoldevnum parameter.
When the host that recognizes the S-VOL is specified, the S-VOL values are
as follows: the vSerialNumber value of An instance of VLDEV
corresponds to the confsvolserialnum parameter, and the vDevNum
value corresponds to the confsvoldevnum parameter.
confpvolserialnum
confpvoldevnum
confsvolserialnum
confsvoldevnum
7
Command execution example 1
This example creates a copy pair for Continuous Access Synchronous 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 reference402