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

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.
devnum
Obtain this value from the execution results of the GetStorageArray (subtarget=VResource-
PartitionUnit) command. Execute this command by specifying the model, serialnum, and
vrpuid parameters. Specify VResourcePartitionUnit for the subtarget parameter, and
VLDEV for the vrpusubinfo parameter. In the execution results, the devNum value, which is
required for the devnum parameter, is output after An instance of VLDEV. Specify this
devNum value for the devnum parameter.
Command execution example 1
In this example, the ModifyVLDEV command registers virtual information (vemulation: OPEN-V,
vssid: 5, vluse: 10, vcvs: 1) to a virtual LDEV (device number: 65264) that belongs to a virtual
resource group (resource group ID: 60) in a storage system (model: XP7, serial number: 10182).
hdvmcli ModifyVLDEV -o "D:\logs\ModifyVLDEV.log" "vldevoperation=mapvattr"
"model=XP7" "serialnum=10182" "vrpuid=60" "devnum=65264"
"vemulation=OPEN-V" "vssid=5" "vluse=10" "vcvs=1"
Command execution result 1
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 VResourcePartitionUnit elements:
An instance of VResourcePartitionUnit
objectID=*****
name=RG60
resourcePartitionUnitID=60
arrayType=XP7
serialNumber=10182
vArrayFamily=XP7
vSerialNumber=10182
virtualStorageMode=enable
onDataMigration=false
vDisplayArrayFamily=XP7
numberOfVPorts=0
numberOfVHostStorageDomains=0
numberOfVLDEVs=11
List of 1 VLDEV elements:
An instance of VLDEV
objectID=*****
resourcePartitionUnitID=60
devNum=65,264
vArrayFamily=XP7
vSerialNumber=10182
Command reference300