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

DescriptionStatusParameter name
Label name of logical units for which information is to be obtained
Specify this parameter to obtain information about logical units
for which a specific label is specified. You can specify only one
label.
If you specify this parameter, you must also specify
lusubinfo=LDEV.
Optional
label
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.
objectid: Obtain this value from the execution result of the GetStorageArray
(subtarget=LogicalUnit) command. Execute this command by specifying only the model and
serialnum parameters, and LogicalUnit for the subtarget parameter. In the execution result
of this command, the required objectID value appears under An instance of LogicalUnit.
Use this objectID value to specify the objectid parameter.
Command execution example
In this example, the GetStorageArray (subtarget=LogicalUnit) command obtains information
about the logical units in a storage system (serial number: 10001, model: XP12000). The information
includes information about the paths to the logical units, the LDEVs used in the logical units, the WWNs
of the path, and the host.
hdvmcli GetStorageArray -o "D:\logs\GetStorageArray_LogicalUnit.log"
"subtarget=LogicalUnit" "model=XP12000" "serialnum=10001" "lufilter=all"
"lusubinfo=Path,LDEV,VolumeConnection" "pathsubinfo=wwn,hostinfo"
"ldevsubinfo=VolumeConnection"
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1752 Lu elements:
An instance of LogicalUnit
objectID=*****
devNum=100
displayName=00:64
emulation=OPEN-3
devCount=1
devType=
capacityInKB=2,403,360
path=true
commandDevice=false
commandDeviceEx=0
CLI Reference Guide 137