HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

Command execution example 2
hdvmcli AddLun -o "D:\logs\AddLun.log" "serialnum=10001" "model=XP1024"
"name=hp" "port=1" "domain=4" "scsi=15" "lun=120" "devnum=1006"
Command execution result 2
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,006
displayDevNum=03:EE
portID=1
portName=CL1-B
domainID=4
scsiID=15
LUN=120
wwnSecurityValidity=true
*****: The value is encoded by the CLI.
AddWWNForHostStorageDomain
AddWWNForHostStorageDomain allocates one or more WWNs to a host storage domain LUN,
and performs security settings.
NOTE:
When security is set for a host storage domain, the LUN security setting of a port to which the host
storage domain belongs is automatically enabled. Make sure that the I/Os of the target port are
stopped.
Format
hdvmcli [URL] AddWWNForHostStorageDomain [options] serialnum=serial-number
model=model {port=port-number|portname=port-name}
{domain=domain-ID|domainnickname=domain-nickname} wwn=WWN
[wwnnickname=WWN nickname]
CLI Reference Guide 205