HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

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 parameter, and use the serialNumber value to specify the serialnum parameter.
arraygroupname: Obtain this value from the execution result of the GetStorageArray
(subtarget=ArrayGroup) command. Execute this command by specifying only the model and
serialnum parameters, and ArrayGroup for the subtarget parameter. In the execution result
of this command, displayName appears under An instance of ArrayGroup. Use this value
to specify the arraygroupname parameter.
poolid: Obtain this value from the execution result of the GetStorageArray (subtarget=Pool)
command. In the execution result of this command, the poolID value appears under An instance
of Pool. Use this value to specify the poolid parameter.
Command execution example
In this example, the AddVirtualVolume command creates a virtual parity group (arraygroupname:
X200-1) that has two volumes for Thin Provisioning Software (numoflus: 2) and assigns the virtual
parity group to a pool for Thin Provisioning Software whose pool ID is 0 (poolid: 0) in the storage
system (serialnum: 15065, model: XP24000). In addition, this command also sets the usage rate
threshold for the pool for Thin Provisioning Software to 10% (threshold: 10).
hdvmcli AddVirtualVolume -o "D:\logs\AddVirtualVolume.log" model=XP24000
serialnum=15065 arraygroupname=X200-1 capacity=209715200 numoflus=2
devnum=00:30:00 poolid=0 threshold=10
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 ArrayGroup elements:
An instance of ArrayGroup
objectID=*****
chassis=16,485
number=199
displayName=X200-1
raidType=-
emulation=OPEN-V
diskType=
diskSize=-1
diskSizeInKB=-1
controllerID=-1
totalCapacity=419,430,400
allocatedCapacity=0
freeCapacity=419,430,400
autoLunCapacity=0
onDemandCapacity=0
totalFreeSpace=2,801,729,280
largestFreeSpace=2,801,729,280
Device Manager CLI command reference80