HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
DescriptionStatusParameter name
Model of the storage systemRequired
model
Specify the resource group ID of the physical resource group at
the registration destination.
Required
rpuid
Number of the port that belongs to the physical resource group
Specify either port or portname. Do not specify both
parameters at the same time. If they are specified at the same
time, an error occurs.
Optional
port
Name of the port that belongs to the physical resource group
Specify either port or portname. Do not specify both
parameters at the same time. If they are specified at the same
time, an error occurs.
Optional
portname
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.
port
Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. Execute this command by specifying only the model and serialnum parameters,
and the value for subtarget=Port. In the execution result of this command, the required
portID value appears under An instance of Port. Use this portID value to specify the
port parameter.
portname
Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. In the execution result of this command, the displayName value appears under An
instance of Port. Use this value to specify the portname parameter.
Command execution example
In this example, the AddPPortToPRPU command adds a port (port number: 1) 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: 43).
hdvmcli AddPPortToPRPU -o "D:\logs\AddPPortToPRPU.log"
"model=XP7" "serialnum=10139" "port=1" "rpuid=43"
Command reference112