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

Format
hdvmcli [URL] DeleteVResourcePartitionUnit [options]
model=model serialnum=serial-number
vrpuid=virtual-resource-group-ID [deletionoption=force]
Parameters
Table 54 DeleteVResourcePartitionUnit command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Specify the resource group ID of the virtual resource group to be
deleted.
Required
vrpuid
If you want to delete all of the resources from the specified virtual
resource group and physical resource group when the virtual re-
source group is deleted, specify force.
Optional
deletionoption
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.
vrpuid
Obtain this value from the execution results of the GetStorageArray (subtarget=VResource-
PartitionUnit) command. Execute this command by specifying only the model and serial-
num parameters, and VResourcePartitionUnit for the subtarget parameter. In the exe-
cution results of this command, the required resourcePartitionUnitID value appears under
An instance of VResourcePartitionUnit. Use this value to specify the vrpuid para-
meter.
Command execution example
In this example, the DeleteVResourcePartitionUnit command deletes a virtual resource group
(resource group ID: 2) in a storage system (model: XP7, serial number: 10139).
hdvmcli DeleteVResourcePartitionUnit -o
"D:\logs\DeleteVResourcePartitionUnit.log"
"model=XP7" "serialnum=10139" "vrpuid=2"
Command execution result
RESPONSE:
(Command completed; empty list returned)
CLI Reference Guide 159