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.
poolid
Obtain this value from the execution result of the GetStorageArray (subtarget=Pool)
command. In the execution result of this command, the poolID value appears under An in-
stance of Pool. Use this value to specify the poolid parameter.
Command execution example
In this example, the DeletePool command deletes the THP pool whose pool ID is 0 (poolid: 0) from
the storage system (serialnum: 15065, model: XP24000).
hdvmcli DeletePool -o "D:\logs\DeletePool.log"
model=XP24000 serialnum=15065 poolid=0
Command execution result
RESPONSE:
(Command completed; empty list returned)
DeletePPortFromPRPU
The DeletePPortFromPRPU command deletes a port that belongs to a physical resource group
from a specific physical resource group, and then moves the port to a physical resource group
(meta_resource) whose resource group ID is 0.
NOTE:
• You can use this command only when you are using HP XP7.
• To delete the location to which multiple ports belong, use the batch function. For details about the
batch function, see Chapter 6 on page 503.
Format
hdvmcli [URL] DeletePPortFromPRPU [options]
model=model serialnum=serial-number
{port=port-number|portname=port-name}
Parameters
Table 50 DeletePPortFromPRPU command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
CLI Reference Guide 151