6-3 addwwnforhoststoragedomain, Y y y – HP XP Command View Advanced Edition Software User Manual
Page 175
![background image](/manuals/397820/175/background.png)
Command line interface commands
175
.
List of 1 Port elements:
An instance of Port
.
. (Attributes of Port are omitted here)
.
List of 1 LUNGroup elements:
An instance of LUNGroup
objectID=*****
name=hp
nickname=hp
List of 2 Path elements:
An instance of Path
objectID=*****
devNum=0
portID=19
domainID=16
scsiID=15
LUN=8
wwnSecurityValidity=true
.
. (repeated for other Path instances)
.
*****
: The values are encoded by the CLI.
4-6-3 AddWWNForHostStorageDomain
AddWWNForHostStorageDomain
allocates one or more WWNs to a host storage domain LUN,
and performs security settings (see
A user who has only View permission cannot execute this command. A user to whom a user-defined
resource group is assigned, and who also has Modify permission, can execute this command for
any resources.
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 for the XP24000/XP20000, XP12000/XP10000/SVS200, and XP1024/XP128:
hdvmcli [URL] AddWWNForHostStorageDomain [option] serialnum=serial-number
model=model {port=port-number|portname=port-name} {domain=domain-
ID|domainnickname=domain-nickname} wwn=WWN [wwnnickname=WWN nickname]
Format for the XP512/XP48:
hdvmcli [URL] AddWWNForHostStorageDomain [option] serialnum=serial-number
model=model {port=port-number|portname=port-name} domain=domain-ID wwn=WWN
[wwnnickname=WWN-nickname]
Table 4-67
AddWWNForHostStorageDomain command parameters
Parameter Name Status
Description
serialnum
Required
Serial number of the storage array for the host storage domain
model
Required
Model of the storage array for the host storage domain