6-4 addwwnforlun, Table 4-68 addwwnforlun command parameters – HP XP Command View Advanced Edition Software User Manual

Page 177

Advertising
background image




Command line interface commands



177

Command execution example:

hdvmcli AddWWNForHostStorageDomain -o "D:\logs\XP1024
AddWWNForHostStorageDomain.log" "serialnum=10001" "model=XP1024" "port=1"
"domain=1" "wwn=22.33.44.55.44.55.44.33,11.33.22.33.44.33.22.22"

Command execution result:

RESPONSE:

An instance of StorageArray

.

. (Attributes of StorageArray are omitted here)

.

List of 1 HostStorageDomain elements:

An instance of HostStorageDomain

objectID=*****

portID=1

domainID=1

hostMode=Standard

displayName=CL1-B-1

domainType=0

nickname=HCMD0103

List of 2 WWN elements:

An instance of WWN

WWN=22.33.44.55.44.55.44.33

nickname=Jane

An instance of WWN

WWN=11.33.22.33.44.33.22.22

nickname=Jone

*****

: The value is encoded by the CLI.

4-6-4 AddWWNForLun

AddWWNForLun

secures a path by assigning a WWN to it (see

Table 4-68

).

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 AddWWNForLun secures a path, XP LUN security is automatically enabled. Make

sure that the I/Os of the target port are stopped.

NOTE:

This command supports only the XP512/XP48 subsystems.

Table 4-68

AddWWNForLun command parameters

Parameter Name

Status

Description

serialnum

Required

Serial number of the port's storage array

model

Required

Model of the port's storage array

port

Optional Port

number

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

NOTE:

Specify either port or portname. Do not specify both

parameters at the same time. This might cause an error to occur.

Advertising