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

DescriptionStatusParameter name
Model of the storage systemRequired
model
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.
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 DeletePPortFromPRPU command deletes a port (port number: 11) that belongs
to a physical resource group in a storage system (model: XP7, serial number: 10139). The port is
deleted from the physical resource group to which it belongs.
hdvmcli DeletePPortFromPRPU -o "D:\logs\DeletePPortFromPRPU.log"
"model=XP7" "serialnum=10139" "port=11"
Command execution result
RESPONSE:
(Command completed; empty list returned)
Command reference152