beautypg.com

HP XP Command View Advanced Edition Software User Manual

Page 125

background image




Command line interface commands



125

Table 4-43

GetStorageArray (subtarget=Path) command parameters

Parameter Name Status

Description

subtarget

Required

Specify Path.

objectid

Optional

Object ID of the path
Specify this parameter when you want to obtain information about a
specific path. If you specify this parameter, you must also specify the
model

and serialnum parameters. If you specify the model and

serialnum

parameters and omit the objectid parameter, information

about all the paths for the specified storage subsystem is obtained.

Specify

the objectID obtained from another CLI response. The value is encoded by
the CLI.

pathsubinfo

Optional

Specific information about the path

The values you can specify are LogicalGroup, WWN, WWNGroup, or
HostInfo

. If you specify multiple values at the same time, separate the

values by commas.

startElementNum
Filter

Optional

Starting sequence number of paths for which information is to be obtained
Specify this parameter when you want to obtain information for a part of
paths for a specific storage subsystem.
When path infromation is ordered as shown below and numbered from 0
upward, specify the first number in the sequence of paths that you want to
obtain.
Order of paths:

1

Port IDs in ascending order

2

Domain IDs in ascending order

3

Device numbers in ascending order

This parameter must be specified together with the
numOfElementsFilter

, model, and serialnum parameters.

numOfElementsFi
lter

Optional

Number of paths for which information is to be obtained
Specify this parameter when you want to obtain information for a part of
paths for a specific storage subsystem. Specify the number of paths for
which information is to be obtained. This parameter must be specified
together with the startElementNumFilter, model, and serialnum
parameters.
The maximum recommended value is 16384.

Command execution example 1 (objectid parameter not specified): In this example, the CLI
command obtains information about all the paths to a storage subsystem (serial number: 10001,
model: XP1024). The information includes information about the WWNs of all these paths, the
WWN groups, and the host.

hdvmcli GetStorageArray -o "D:\logs\XP1024 GetStorageArray_Path.log"
subtarget=Path model=XP1024 serialnum=10001 pathsubinfo=WWN,WWNGroup,HostInfo

Command execution result 1:

RESPONSE:

An instance of StorageArray

.

. (Attributes of StorageArray are omitted here)

.

List of 554 Path elements:

An instance of Path

objectID=*****

devNum=0

portID=0