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

NOTE:
You can use this command only when you are using HP XP7.
If an LDEV has not been created (the volume does not exist), you can use this command to reserve
an LDEV for a specific physical resource group.
Only the physical resource groups that belong to the default virtual storage machine can be re-
gistered. To register an LDEV to a physical resource group that does not belong to the default
virtual storage machine, you need to virtualize the LDEV. To virtualize an LDEV, use Ad-
dVLDEVToVRPU on page 129.
If an LDEV that belongs to a physical resource group is a pool volume, all pool volumes that belong
to the pool ID must belong to the same physical resource group. If an LDEV to be specified is a
pool volume, specify all the pool volumes that have the same pool ID.
If an LDEV that belongs to a physical resource group is a journal volume, all journal volumes that
belong to the journal group must belong to the same physical resource group. If an LDEV to be
specified is a journal volume, specify all the journal volumes that have the same journal group.
To register the location to which multiple LDEVs belong, use the batch function. For details about
the batch function, see Chapter 6 on page 503.
Format
hdvmcli [URL] AddPLDEVToPRPU [options]
model=model serialnum=serial-number
rpuid=physical-resource-group-ID
devnum=Device-number-of-the-LDEV
Parameters
Table 32 AddPLDEVToPRPU command parameters
DescriptionStatusParameter name
Serial number of the storage systemRequired
serialnum
Model of the storage systemRequired
model
Specify the resource group ID of the physical resource group at
the registration destination.
Required
rpuid
Device number of the LDEV that belongs to the physical resource
group
Specify this parameter as a decimal number or colon-delimited
hexadecimal number in the format ww:xx:yy, where ww is the
LDKC number, xx is the CU number, and yy is the LDEV number.
ww is optional. If ww is omitted, LDKC is assumed to be 0.
The execution results are output in decimal.
Required
devnum
Parameter values to obtain in advance
serialnum and model
CLI Reference Guide 97