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

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.
chassis and groupnum
Obtain these values from the execution result of the GetStorageArray (subtarget=Array-
Group) command. Execute this command by specifying only the model and serialnum para-
meters, and ArrayGroup for the subtarget parameter. In the execution result of this command,
the chassis value and the number value appear in an ArrayGroup. Use these chassis and
number values to specify the chassis and groupnum parameters respectively.
arraygroupname
Obtain this value from the execution result of the GetStorageArray (subtarget=ArrayGroup)
command. In the execution result of this command, displayName appears under An instance
of ArrayGroup. Use this value to specify the arraygroupname parameter.
fsindex
Obtain this value from the execution result of the GetStorageArray (subtarget=FreeSpace)
command. In the execution result of this command, fsControlIndex appears under An in-
stance of FreeSpace. Use this value to specify the fsindex parameter.
Command execution example
In this example, the AddLogicalUnit command creates a logical unit (capacity: 1,000,080 KB,
emulation type: OPEN-3) for a parity group (chassis number: 4, parity group number: 32) in a storage
system (serial number: 10001, model: XP1024). The LDEVs composing the created logical unit are
obtained from the execution result.
hdvmcli AddLogicalUnit -o "D:\logs\AddLogicalUnit.log"
serialnum=10001 model=XP1024 chassis=4 groupnum=32 capacity=1000080
emulation=OPEN-3 lusubinfo=LDEV devnum=176
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 Lu elements:
An instance of LogicalUnit
objectID=*****
devNum=176
displayName=00:B0
emulation=OPEN-3
devCount=1
devType=
capacityInKB=1,000,080
numberOfLBAs=2,000,160
path=false
commandDevice=false
commandDeviceEx=0
commandDeviceSecurity=false
commandDeviceAuth=false
CLI Reference Guide 87