HP P9000 Command View Advanced Edition Suite Software 7.4.1-00 CLI Reference Guide (TB581-96335, April 2013)

An instance of LogicalGroup
objectID=*****
name=snow
description=
parentID=*****
logicalPath=root/snow
capacity=2
capacityInKB=2,098,560
realCapacityInKB=2,098,560
percentUsed=0
numberOfLUNs=1
resourceType=2
specificationType=0
.
. (repeated for other LogicalGroup instances)
.
*****: The values are encoded by the CLI.
LUN commands
The LUN commands can be used to manage LUN groups, set up WWNs, and set paths from a host
to a volume.
AddLun
AddLun sets paths from a host to a volume. A LUN expanded (LUSE) logical unit can be specified
when the path is set.
NOTE:
When AddLun adds a LUN whose domain ID is not 0 to the host storage domain, the LUN security
of the target port is automatically enabled. Make sure that the I/Os of the target port are stopped.
Format
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}
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
Command reference246