Table 4-65 addlun command parameters – HP XP Command View Advanced Edition Software User Manual
Page 169

Command line interface commands
169
Format for the XP24000/XP20000, XP12000/XP10000/SVS200, and XP1024/XP128:
hdvmcli [URL] AddLun [options] serialnum=serial-number model=model-name
[name=name] {port=port-number|portname=port-name} domain=domain-ID [scsi=SCSI-
ID] lun=valid-LUN [{devnum=device-number|lusedevnums=list-of-LDEV-numbers}]
Format for the XP512/XP48:
hdvmcli [URL] AddLun [options] serialnum=serial-number model=model-name
[name=name] {port=port-number|portname=port-name} [scsi=SCSI-ID] lun=valid-LUN
{devnum=device-number
[{domain=domain-ID|wwn=list-of-WWNs}]|lusedevnums=list-of-
LDEV-numbers
[{domain=domain-ID|wwn=list-of-WWNs}]}
NOTE:
When setting up a LUN (path) to an LU to which a LUSE is already set, like the following
command, you must specify devnum of the representative LDEV which constitutes the LUSE, and
run AddLUN.
>hdvmcli AddLun serialnum=30117 model=XP128 name=vail11 port=3 domain=0 scsi=15
lun=10 devnum=263
Table 4-65
AddLun command parameters
Parameter Name Status
Description
serialnum
Required
Serial number of the new path's storage array
model
Required Model
of
the
new path's storage array
name
Optional
Name of the new path
The number of characters that can be used for a name is 1-64 bytes.
NOTE:
Spaces at the beginning or end of a name are not registered.
port
Optional
Port number of the new path
NOTE:
Specify either port or portname. Do not specify both parameters
at the same time. This might cause an error to occur.
portname
Optional
Port name of the new path
NOTE:
Specify either port or portname. Do not specify both parameters
at the same time. This might cause an error to occur.
domain
Required
(for
XP24000/
XP20000,
XP12000/
XP10000/
SVS200,
XP1024/
XP128)
Optional
(for XP512/
XP48)
Domain ID of the new path
This cannot be set when using the wwn parameter.
This parameter can be specified in decimal and hexadecimal. If you
specify a hexadecimal number, add the 0x prefix.
NOTE:
The execution results are output in decimal.
scsi
Optional
SCSI ID of the new path
For Fibre Channel, specify 15.
lun
Required
Actual LUN used for new path