HP XP Command View Advanced Edition Software User Manual
Page 136
Command line interface commands
136
Table 4-47
GetStorageArray (subtarget=PortController) command parameters
Parameter Name Status
Description
controllernum
Optional
Controller ID of the port controller in the storage subsystem
Specify this parameter when you want to obtain information about a
specific port controller. If you specify this parameter, you must also
specify the model and serialnum parameters.
If controllernum and
controllername
are omitted, all port controller information is obtained
for the specified storage subsystem.
NOTE:
Do not specify controllernum and controllername at the
same time, as this might cause an error to occur.
controllername
Optional
Controller name for port controller of storage subsystem
Specify this parameter when you want to obtain information about a
specific port controller. If you specify this parameter, you must also
specify the model and serialnum parameters. If controllernum and
controllername
are omitted, all port controller information is obtained
for the specified storage subsystem.
NOTE:
Do not specify controllernum and controllername at the
same time, as this might cause an error to occur.
controllersubin
fo
Optional
Specific information about the port controller you intend to obtain
Available values are IPAddress and PairedPortController. You
can specify either one or both of these values.
NOTE:
The information about IPAddress and
PairedPortController
is valid for the NAS configuration.
Command execution example 1: In this example, the CLI command obtains information about the
port controller for a storage subsystem (serial number: 10001, model: XP1024)
hdvmcli GetStorageArray -o "D:\logs\XP1024 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 CLI command obtains information about the
port controller (ID: 1) used for a storage subsystem (serial number 10001, model XP1024)
hdvmcli GetStorageArray -o "D:\logs\XP1024 GetStorageArray_PortController.log"
subtarget=PortController model=XP1024 serialnum=10001 controllernum=1