HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide

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.
port
Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. Execute this command by specifying only the model and serialnum parameters,
and the value for subtarget=Port. In the execution result of this command, the required
portID value appears under An instance of Port. Use this portID value to specify the
port parameter.
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.
Command execution example
In this example, the GetStorageArray (subtarget=Port) command obtains information about
a port (port number: 9) in a storage system (serial number: 10007, model: XP24000). The information
includes information about the port's WWNs and the host storage domain.
hdvmcli GetStorageArray -o "D:\logs\GetStorageArray_Port.log"
subtarget=Port model=XP24000 serialnum=10007 port=9
portsubinfo=WWN,HostStorageDomain
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 Port elements:
An instance of Port
objectID=*****
portID=9
portType=Fibre
fibreAddress=CC
topology=Fabric(off), FC-AL
displayName=CL3-E
lunSecurityEnabled=true
controllerID=2
worldWidePortName=50.06.0E.80.05.27.17.24
channelSpeed=0
portRole=Target
slprNumber=0
portNumber=-1
keepAliveTime=-1
List of 2 HostStorageDomain elements:
An instance of HostStorageDomain
objectID=*****
portID=9
portName=CL3-E
CLI Reference Guide 187