HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide

parameter, and freelun for the hsdsubinfo parameter. In the execution result of this command,
the portID, domainID and nickname values appear under An instance of HostStor-
ageDomain. Use these portID values to specify the port parameter. Use the domainID value
to specify the domain parameter, or use the nickname value to specify the domainnickname
parameter. For the lun parameter, specify one of the lun values that appear under An instance
of FreeLUN.
portname
Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. In the execution result of this command, the displayName value appears under An
instance of Port. Use this value to specify the portname parameter.
devnum
Obtain this value from the execution result of the GetStorageArray (subtarget=LDEV)
command. Execute this command by specifying only the model and serialnum parameters,
and LDEV for the subtarget parameter. In the execution result of this command, the devNum
values of the LDEVs appear in an LDEV. Use the devNum value of the LDEV for which path=false
and onDemandDevice=false to specify the devnum parameter.
lusedevnums
Obtain this value from the execution result of the GetStorageArray (subtarget=LDEV)
command. In the execution result of this command, the devNum values of the LDEVs appear in
an LDEV. Use the devNum value of the LDEV for which path=false and onDemand-
Device=false to specify the lusedevnums parameter. Choose only the LDEVs that share the
same emulation, sizeInKB, and raidType attributes, and specify them in the form of a comma-
separated list.
Command execution example 1
hdvmcli AddLun -o "D:\logs\AddLun.log" "serialnum=10001" "model=XP1024"
"name=hp" "port=1" "domain=4" "scsi=15" "lun=114" "lusedevnums=1001,1002"
Command execution result 1
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 1 Path elements:
An instance of Path
objectID=*****
name=hp
devNum=1,001
displayDevNum=03:E9
portID=1
portName=CL1-B
domainID=4
scsiID=15
LUN=114
wwnSecurityValidity=true
List of 2 Ldev elements:
An instance of LDEV
CLI Reference Guide 263