beautypg.com

HP XP Command View Advanced Edition Software User Manual

Page 170

background image




Command line interface commands



170

Table 4-65

AddLun command parameters

Parameter Name Status

Description

devnum

Optional

Device number used to identify the new path (not provided when a LUSE
is defined)
This parameter can be specified in decimal, and in colon-separated
hexadecimal. If you specify a hexadecimal number, for
XP12000/XP10000/SVS200, XP1024/XP128, and XP512/XP48, use the
xx:yy format, where xx is the CU number, and yy is the LDEV number.
For XP24000/XP20000, use the ww:xx:yy format, where ww is the LDKC
number, xx is the CU number, and yy is the LDEV number. ww is optional.
If you omit ww, the LDKC number is regarded as 0.

NOTE:

The execution results are output in decimal.

NOTE:

Specify either devnum or lusedevnums. Do not specify both

parameters at the same time. This might cause an error to occur.

lusedevnums

(see

Note

)

Optional

Comma-separated list of LDEV numbers to create a LUSE for the path
The format you can use when specifying and the format of the execution
results are the same as devnum.

NOTE:

Specify either devnum or lusedevnums. Do not specify both

parameters at the same time. This might cause an error to occur.

wwn

Optional
(for XP512/
XP48)

Comma-separated list of WWN to secure the path

This cannot be set when using domain parameter.

This parameter is not valid for the XP24000/XP20000,
XP12000/XP10000/SVS200, XP1024/XP128.

NOTE:

The LUSE is created using the LDEVs of the specified device numbers. The new LUSE is

created using only those LDEVs that have the same emulation, sizeInKB, and raidType attributes.

Command execution example 1:

hdvmcli AddLun -o "D:\logs\XP512\AddLun.log" "serialnum=10001" "model=XP512"
"name=liu" "port=3" "scsi=15" "lun=127" "lusedevnums=127,128"
"wwn=AA.AA.AA.AA.AA.AA.AA.AA"

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=liu

devNum=127

portID=3

domainID=16

scsiID=15

LUN=127

wwnSecurityValidity=true

List of 2 Ldev elements:

An instance of LDEV

objectID=*****

devNum=127