HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
DescriptionStatusParameter name
Serial number of the virtual storage machine
This parameter must be specified together with the vfamily
parameter.
If you omit this parameter, a virtual resource group is created on
the default virtual storage machine.
Optional
vserialnum
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.
vfamily and vserialnum
Obtain these values from the execution results of the GetStorageArray command. In the exe-
cution results, use the arrayFamily value to specify the vfamily parameter, and use the
serialNumber value to specify the vserialnum parameter.
Command execution example
In this example, the AddVResourcePartitionUnit command creates a virtual resource group
(virtual resource group name: vrsg1) on a virtual storage machine (vfamily: XP7, vserialnum:
10051) in a storage system (model: XP7, serial number: 10139).
hdvmcli AddVResourcePartitionUnit -o "D:\logs\AddVResourcePartitionUnit.log"
"model=XP7" "serialnum=10139" "vfamily=XP7"
"vserialnum=10051" "vrpuname=vrsg1"
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 PResourcePartitionUnit elements:
An instance of PResourcePartitionUnit
objectID=*****
name=vrsg1
resourcePartitionUnitID=49
numberOfPArrayGroups=0
numberOfPHostStorageDomains=0
numberOfPLDEVs=0
numberOfPPorts=0
List of 1 VResourcePartitionUnit elements:
An instance of VResourcePartitionUnit
objectID=*****
name=vrsg1
resourcePartitionUnitID=49
arrayType=XP7
Command reference136