beautypg.com

HP StorageWorks XP10000 Disk Array User Manual

Page 20

background image

Command Line Interface Commands 20


Table 4-1

Extracting Parameter Values

To Find This Parameter Value: Do This:

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

.

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

Execute the GetStorageArray command. Use the displayArrayType value that
appears under An instance of StorageArray.

nickname

Execute the GetStorageArray (subtarget=Port) command, specifying only the
model

and serialnum parameters, Port for the subtarget parameter, and

HostStorageDomain

for the portsubinfo parameter. The nickname value is

displayed under An instance of HostStorageDomain.

objectid

Execute the GetStorageArray command, setting the subtarget corresponding to the
desired component, and then obtain the value from the execution result.

pdevid

Execute the GetStorageArray (subtarget=PDEV) command, specifying only the
model

and serialnum parameters, and PDEV for the subtarget parameter. The

objectID

value that appears under An instance of PDEV consists of four parts, with

adjoining parts separated by a dot. Use the right-most value of objectID to specify the
pdevid

parameter.

pdevnums

Execute the GetStorageArray (subtarget=PDEV) command, specifying only the
model

and serialnum parameters, and PDEV for the subtarget parameter. In the

execution result of this command, the objectID value that appears in a PDEV consists of
four parts, with adjoining parts separated by a dot. Enter the right-most value for the
pdevnums

parameter. If there is more than one such value specified, separate them with

a comma.

port

Execute the GetStorageArray (subtarget=Port) command, specifying only the
model

and serialnum parameters, and the value for subtarget=Port. The portID

value appears under An instance of Port.

pvoldevnum

Execute the GetHost command, and then obtain the value from the execution result.

pvolserialnum

Execute the GetHost command. The pvolSerialNum is displayed as An instance
of ReplicationInfo

.

remoteserialnum

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

remoteSSID

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

replicationgroupid

Execute the GetHost command, and then obtain the value from the execution result.

serialnum

Execute the GetStorageArray command, and then use the serialNumber value.

source

Execute the GetAlerts command, and then obtain the value from the execution result.

svoldevnum

Execute the GetHost command, and then obtain the value from the execution result.

svolsequencenum

Execute the GetStorageArray command for the storage subsystem that contains the S-
VOL. Use the value of the sequenceNumber.