HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)

Parameter values to obtain in advance
serialnum and model
Obtain these values from the execution result of the GetStorageArray command. In the execution
result, use the arrayType value or the displayArrayType value to specify the model para-
meter, and use the serialNumber value to specify the serialnum parameter.
objectid
Obtain this value from the execution result of the GetStorageArray (subtarget=Replica-
tionInfo) command. Execute this command by specifying only the model and serialnum
parameters, and ReplicationInfo for the subtarget parameter. You can now obtain in-
formation about copy pairs, from specified storage systems. In the execution result of this command,
an objectID value appears under An instance of ReplicationInfo. Use this objectID
value to specify the objectid parameter.
snapshotgrpidfilter and snapshotgrpnamefilter
Obtain these values from the execution results of the GetStorageArray (subtarget=Snap-
shotGroup) command. Execute this command with the model and serialnum parameters
specified and SnapshotGroup specified for the subtarget parameter. You can obtain inform-
ation about the snapshot group from the specified storage system. The groupID and groupName
values appear under An instance of SnapshotGroup in the execution results of the com-
mand. Use the groupID value to specify the snapshotgrpidfilter parameter, and use the
groupName value to specify the snapshotgrpnamefilter parameter.
Command execution example
hdvmcli GetStorageArray -o "D:\logs\GetStorageArray_ReplicationInfo.log"
subtarget=ReplicationInfo model=XP1024 serialnum=10001
replicationsubinfo=LogicalUnit
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 2 ReplicationInfo elements:
An instance of ReplicationInfo
objectID=*****
pvolSerialNumber=10001
pvolArrayType=XP1024
pvolDevNum=100
displayPvolDevNum=00:64
pvolObjectID=*****
pvolPoolID=-1
svolSerialNumber=10001
svolArrayType=XP1024
svolDevNum=101
displaySvolDevNum=00:65
svolObjectID=*****
svolPoolID=-1
replicationFunction=BusinessCopy
Command reference236