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

How to obtainParameter nameNo.
Execute the GetStorageArray (subtarget=LogicalUnit) with
LogicalUnit specified for the subtarget parameter and the object ID of
the logical unit to be used as the P-VOL or the S-VOL (the object ID recorded in
No. 4) specified for the objectID parameter.
The execution result of the GetStorageArray (subtarget=LogicalUnit)
command displays the specified object ID under An instance of
LogicalUnit. See the values of arrayType, displayArrayType, and
serialNumber under An instance of StorageArray that includes below
it An instance of LogicalUnit for which the specified objectID is
displayed.
If you execute the command with the object ID of the logical unit to be used as
the P-VOL specified, the value of arrayType or displayArrayType
corresponds to the pvolarraytype parameter value, and the value of
serialNumber corresponds to the pvolserialnum parameter value.
Likewise, if you execute the command with the object ID of the logical unit to
be used as the S-VOL specified, the value of arrayType or
displayArrayType corresponds to the svolarraytype parameter value,
and the value of serialNumber corresponds to the svolserialnum
parameter value.
If the copy type of the copy pair to be created is Continuous Access
Asynchronous Software, Snapshot, or Continuous Access Journal Software,
record the values of the pvolarraytype, pvolserialnum, svolarraytype,
and svolserialnum parameters.
pvolarraytype
pvolserialnum
svolarraytype
svolserialnum
5
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"
Device Manager CLI command reference268