4-17-14 getstoragearray (subtarget=pdev) – HP XP Command View Advanced Edition Software User Manual

Page 127

Advertising
background image




Command line interface commands



127

WWN=88.77.77.77.77.77.00.02

nickname=Jone

*****

: The value is encoded by the CLI.

4-4-17-14 GetStorageArray (subtarget=PDEV)

GetStorageArray (subtarget=PDEV)

obtains the information about a PDEV in one or all

storage subsystems (see parameters in

Table 4-44

).

A user to whom a user-defined resource group is assigned can obtain information about one
or all PDEVs in one or all storage subsystems that the user is permitted to access.

Table 4-44

GetStorageArray (subtarget=PDEV) Command Parameters

Parameter Name Status

Description

model

Optional

Model of the storage subsystem
If you omit this parameter, all the storage subsystems become the target.

serialnum

Optional

Serial number of the storage subsystem
If you omit this parameter, all the storage subsystems become the target.

subtarget

Required

Specify PDEV.

arraygroupobjid

Optional

Object ID of the array group containing the PDEVs to be returned
Specify this parameter when you want to obtain information about the
PDEVs in a specific array group. 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 arraygroupobjid

parameter, information about the PDEVs in all the array groups of the
specified storage subsystem is obtained.
When obtaining information about all the array groups and PDEVs, specify
ALL

.

Specify the objectID obtained from another CLI response.

The value

is encoded by the CLI.

pdevid

Optional

Specify this parameter when you want to obtain information about a
specific PDEV. 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 pdevid parameter, information

about all the PDEVs in the specified storage subsystem is obtained.

Command execution example: In this example, the CLI command obtains information about a
PDEV (PDEV number: 1) belonging to an array group (object ID: ARRAYGROUP.
XP1024.10001.0.0

) that is in a storage subsystem (serial number: 10001, model: XP1024).

hdvmcli GetStorageArray -o "D:\logs\XP1024 GetStorageArray_PDEV.log"
subtarget=PDEV model=XP1024 serialnum=10001 pdevid=1 arraygroupobjid=*****

*****

: The value is encoded by the CLI.

Command execution result:

RESPONSE:

An instance of StorageArray

.

. (Attributes of StorageArray are omitted here)

.

List of 1 ArrayGroup elements:

.

. (Attributes of ArrayGroup are omitted here)

.

List of 4 PDEV elements:

An instance of PDEV

Advertising