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

Command execution example
In this example, the GetStorageArray (subtarget=CommParameters) command obtains
information about how to access a storage system (serial number: 10001, model: XP1024).
hdvmcli GetStorageArray -o "D:\logs\GetStorageArray_CommParameters.log"
subtarget=CommParameters model=XP1024 serialnum=10001
Command execution result
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 CommParameters elements:
An instance of CommParameters
userID=root
ipAddress=172.16.45.1
GetStorageArray (subtarget=Component)
GetStorageArray (subtarget=Component) obtains information about the configuration of
storage systems.
Parameters
Table 48 GetStorageArray (subtarget=Component) command parameters
DescriptionStatusParameter name
Specify Component.
Required
subtarget
Serial number of the storage system
If you omit this parameter, all the storage systems become the
target.
Optional
serialnum
Model of the storage system
If you omit this parameter, all the storage systems become the
target.
Optional
model
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.
CLI Reference Guide 125