HP P9000 Command View Advanced Edition Suite Software 7.4.0-00 CLI Reference Guide (TB581-96326, December 2012)

Table Of Contents
controllernum
Obtain this value from the execution result of the GetStorageArray (subtarget=PortCon-
troller) command. Execute this command by specifying only the model and serialnum
parameters, and the value for subtarget=PortController. In the execution result of this
command, the controllerID value appears under An instance of PortController.
Use this controllerID value to specify the controllernum parameter.
controllername
Obtain this value from the execution results of the GetStorageArray (subtarget=PortCon-
troller) command. In the execution results, displayName is displayed below An instance
of PortController. Specify this value as controllername.
Command execution example 1
In this example, the GetStorageArray (subtarget=PortController) command obtains
information about port controllers used for a storage system (serial number: 10001, model: XP1024).
hdvmcli GetStorageArray -o "D:\logs\GetStorageArray_PortController.log"
subtarget=PortController model=XP1024 serialnum=10001
Command execution result 1
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 4 PortController elements:
An instance of PortController
objectID=*****
cluster=1
card=1
controllerID=1
displayName=CHA-1P
mode=1
type=12
.
. (repeated for other PortController instances)
.
*****: The value is encoded by the CLI.
Command execution example 2
In this example, the GetStorageArray (subtarget=PortController) command obtains
information about a port controller (controller ID: 1) used for a storage system (serial number: 10001,
model: XP1024).
hdvmcli GetStorageArray -o "D:\logs\GetStorageArray_PortController.log"
subtarget=PortController model=XP1024 serialnum=10001 controllernum=1
Command reference176