HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

Command execution example 3
hdvmcli GetLogicalGroup -o "D:\logs\GetLogicalGroup.log"
Command execution result 3
RESPONSE:
An instance of LogicalGroup
objectID=*****
name=toro
parentID=*****
logicalPath=root/toro
icon=group12.gif
capacity=0
capacityInKB=0
realCapacityInKB=0
percentUsed=0
numberOfLUNs=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}
CLI Reference Guide 215