HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

DescriptionStatusParameter name
Device number of the logical unit
Specify this parameter to acquire information about a particular
logical unit. This parameter can be specified in decimal, and in
colon-separated hexadecimal. If you specify a hexadecimal
number, for XP12000/XP10000/SVS200 and XP1024/XP128,
use the xx:yy format, where xx is the CU number and yy is the
LDEV number. For P9500 and XP24000/XP20000, use the
ww:xx:yy format, where ww is the LDKC number, xx is the CU
number, and yy is the LDEV number. ww is optional. If you omit
ww, the LDKC number is regarded as 0.
If you specify this parameter, you must also specify the model
and serialnum parameters.
The execution results are output in decimal.
Optional
displayname
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 para-
meter, and use the serialNumber value to specify the serialnum parameter.
objectid
Obtain this value from the execution result of the GetStorageArray (subtarget=Logic-
alUnit) 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 reference146