HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
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.
devnum
Obtain this value from the execution results of the GetStorageArray (subtarget=LDEV)
command. Execute this command by specifying only the model and serialnum parameters,
and LDEV for the subtarget parameter. In the execution results, the devNum value, which is
required for the devnum parameter, is output after An instance of LDEV. Specify this devNum
value for the devnum parameter.
Command execution example
In this example, the AddPLDEVToPRPU command adds an LDEV (device number: 728) that belongs
to a physical resource group in a storage system (model: XP7, serial number: 10139) to the specified
physical resource group (resource group ID: 3).
hdvmcli AddPLDEVToPRPU -o "D:\logs\AddPLDEVToPRPU.log"
"model=XP7" "serialnum=10139" "devnum=728" "rpuid=3"
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=RG3
resourcePartitionUnitID=3
numberOfPArrayGroups=0
numberOfPPorts=0
numberOfPHostStorageDomains=1
numberOfPLDEVs=8
List of 1 PLDEV elements:
An instance of PLDEV
objectID=*****
devNum=728
hasSubstance=1
*****: The values are encoded by the CLI.
Command reference98