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

AddVResourcePartitionUnit
The AddVResourcePartitionUnit command creates a virtual resource group. When a virtual
resource group is created, the corresponding physical resource group is also created.
NOTE:
You can use this command only when you are using HP XP7.
If there is no virtual storage machine to which the created virtual resource group belongs, a virtual
storage machine is also created.
Do not specify any virtual storage machines (family or serial number) that were created by other
storage systems.
To create multiple virtual resource groups, use the batch function. For details about the batch
function, see Chapter 6 on page 503.
Format
hdvmcli [URL] AddVResourcePartitionUnit [options]
model=model serialnum=serial-number
vrpuname=virtual-resource-group-name
[vfamily=virtual-storage-machine-family]
[vserialnum=serial-number-of-the-virtual-storage-machine]
Parameters
Table 39 AddVResourcePartitionUnit command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Name of the virtual resource group to be created
You can use the following characters:
A-Z a-z 0-9 ! # $ % & ' ( ) + - . = @ [ ] ^ _ ` { } ~ and
spaces
A virtual resource group name cannot begin or end with spaces.
For the virtual resource group name, meta_resource cannot
be specified.
The virtual resource group name format
virtual-storage-machine-family -
virtual-storage-machine-serial-number-Pool that
is used in the GUI cannot be specified.
Required
vrpuname
Family of the virtual storage machine
This parameter must be specified together with the vserialnum
parameter.
If you omit this parameter, a virtual resource group is created on
the default virtual storage machine.
Optional
vfamily
CLI Reference Guide 135