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.
port and domain
Obtain these values from the execution result of the GetStorageArray (subtarget=Host-
StorageDomain) command. Execute this command by specifying only the model and serial-
num parameters, and then HostStorageDomain for the subtarget parameter. In the execution
results of this command, the domainID and portID values appear under An instance of
HostStorageDomain. Use the domainID value to specify the domain parameter, and use the
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 DeletePHSDFromPRPU command deletes a host storage domain (port number:
1, domain ID: 16) that belongs to a physical resource group in a storage system (model: XP7, serial
number: 10139). The host storage domain is deleted from the physical resource group to which it
belongs.
hdvmcli DeletePHSDFromPRPU -o "D:\logs\DeletePHSDFromPRPU.log"
"model=XP7" "serialnum=10139" "port=1" "domain=16"
Command execution result
RESPONSE:
(Command completed; empty list returned)
DeletePLDEVFromPRPU
The DeletePLDEVFromPRPU command deletes an LDEV that belongs to a physical resource group
from a specific physical resource group, and moves the LDEV to a physical resource group
(meta_resource) whose resource group ID is 0.
Command reference148