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.
rpuid
Obtain this value from the execution results of the GetStorageArray (subtarget=PResource-
PartitionUnit) command. Execute this command by specifying only the model and serial-
num parameters, and PResourcePartitionUnit for the subtarget parameter. In the exe-
cution results of this command, the required resourcePartitionUnitID value appears under
An instance of PResourcePartitionUnit. Use this value to specify the rpuid parameter.
rpuname
Obtain this value from the execution results of the GetStorageArray (subtarget=PResource-
PartitionUnit) command. Execute this command by specifying only the model and serial-
num parameters, and PResourcePartitionUnit for the subtarget parameter. In the exe-
cution results of this command, the required name value appears under An instance of
PResourcePartitionUnit. Use this value to specify the rpuname parameter.
Command execution example
In this example, the GetStorageArray (subtarget=PResourcePartitionUnit) command
obtains information about a specific physical resource group (resource group ID: 1) in a storage
system (model: XP7, serial number: 10139).
hdvmcli GetStorageArray -o "D:\logs\GetStorageArray_PResourcePartitionUnit.log"
"subtarget=PResourcePartitionUnit" "rpuid=1" "model=XP7" "serialnum=10139"
"prpusubinfo=PLDEV" "pldevsubinfo=VLDEV"
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 PResourcePartitionUnit elements:
An instance of PResourcePartitionUnit
objectID=*****
name=RG1
resourcePartitionUnitID=1
numberOfPArrayGroups=0
numberOfPPorts=0
numberOfPHostStorageDomains=0
numberOfPLDEVs=1
List of 1 PLDEV elements:
An instance of PLDEV
objectID=*****
devNum=747
hasSubstance=0
List of 1 VLDEV elements:
CLI Reference Guide 233