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.
domain and port: Obtain these values from the execution result of the GetStorageArray
(subtarget=HostStorageDomain) command. Execute this command by specifying only the model
and serialnum parameters, and HostStorageDomain for the subtarget parameter. In the
execution result of this command, the domainID and portID values appear under An instance
of HostStorageDomain. Use these domainID and portID values to specify the domain and
port parameters respectively.
portname: Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. In the execution result of this command, the displayName value appears under An
instance of Port. Use this value to specify the portname parameter.
domainnickname: Obtain this value from the execution result of the GetStorageArray
(subtarget=HostStorageDomain) command. In the execution result of this command, the
nickname value appears under An instance of HostStorageDomain. Use this value to specify
the domainnickname parameter.
Command execution example
In this example, the GetStorageArray (subtarget=HostStorageDomain) command obtains
information about a host storage domain (port number: 3, domain ID: 1) in a storage system (serial
number: 10001, model: XP1024). The information includes information about the paths, WWNs,
and unused LUNs in the host storage domain.
hdvmcli GetStorageArray -o "D:\logs\GetStorageArray_HostStorageDomain.log"
subtarget=HostStorageDomain model=XP1024 serialnum=10001 port=23 domain=1
hsdsubinfo=path,wwn,freelun
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 HostStorageDomain elements:
An instance of HostStorageDomain
objectID=*****
portID=23
portName=CL2-H
domainID=1
hostMode=Standard
displayName=CL1-A-0
domainType=0
nickname=1A-G00
List of 1 WWN elements:
An instance of WWN
WWN=88.77.77.77.77.77.00.01
nickname=Jane
Device Manager CLI command reference128