beautypg.com

HP XP Command View Advanced Edition Software User Manual

Page 47

background image




Command line interface commands



47

Table 4-1

Extracting parameter values

To Find This
Parameter Value:

Do This:

domain

Execute the GetStorageArray (subtarget=HostStorageDomain)
command, specifying only the model and serialnum parameters, and
HostStorageDomain

for the subtarget parameter. Use the domainID

value.

domainnickname

Obtain this value from the execution result of the GetStorageArray
(subtarget=HostStorageDomain) command. Execute this command by
specifying only the model and serialnum parameters, and
HostStorageDomain

for the subtarget parameter. In the execution result of

this command, the nickname value appears under An instance of
HostStorageDomain

. Use this value to specify the domainnickname

parameter.

groupelements

Execute the GetStorageArray (subtarget=Port,
portsubinfo=Path)

command, specifying only the model and serialnum

parameters, Port for the subtarget parameter, and Path for the
portsubinfo

parameter. Use the objectID value. Specify the comma-

delimited objectIDs obtained from another CLI response.
The values are encoded by the CLI.

groupnum

Execute the GetStorageArray (subtarget=ArrayGroup) command,
specifying only the model and serialnum parameters, and ArrayGroup for
the subtarget parameter. Use the number value.

hostname

Obtain this value from the execution result of the GetHost command. In the
execution result of this command, the name value appears under An instance
of Host

. Use this name value to specify the hostname parameter.

logicalpath

Obtain this value from the execution result of the GetLogicalGroup
command. In the execution result of this command, the logicalPath value
appears under An instance of LogicalGroup. Use this value to specify
the logicalpath parameter.

lun

Execute the GetStorageArray (subtarget=HostStorageDomain,
hsdsubinfo=freelun)

command, specifying only the model and

serialnum

parameters, HostStorageDomain for the subtarget parameter,

and freelun for the hsdsubinfo parameter. Use one of the lun values.

lungroupid

Execute the GetStorageArray (subtarget=Port,
portsubinfo=LUNGroup)

command, specifying only the model and

serialnum

parameters, and LUNGroup for the portsubinfo parameter. Use

the objectID value that appears under An instance of LUNGroup.
Specify the objectID obtained from another CLI response. The value is encoded
by the CLI.

lusedevnums

Execute the GetStorageArray (subtarget=LDEV) command. Use the
devNum

value of the LDEV for which path=false and

onDemandDevice=false

. Be sure that the LDEVs have the same

emulation

, sizeInKB, and raidType attributes, specifying them in the form

of a comma-delimited list.

mastercontrollerid

Execute the GetReplicationControllerPair command without specifying
any parameters, and then obtain the value from the execution result.

masterserialnum

Execute the GetReplicationControllerPair command without specifying
any parameters, and then obtain the value from the execution result.

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 parameter.