beautypg.com

6-8 modifyhost, 6-9 modifyhostinfo, Modifyhost – HP StorageWorks XP10000 Disk Array User Manual

Page 91: Modifyhostinfo, Table 4-68 modifyhost command parameters

background image

Command Line Interface Commands 91


devNum=3

osScsiBus=0

osScsiID=15

osLun=1

portWWN=11.22.33.44.55.66.77.88

fileSystemType=NTFS

fileSystemName=C:

sizeInMB=10

percentUsed=10

lastUpdated=1039003852

.

. (repeated for other HostInfo instances)

.

4-6-8 ModifyHost

ModifyHost modifies information about a host server (see

Table 4-68

).

NOTE:

ModifyHost cannot change WWN information for the external port of a host.

A Guest or Local Guest does not have operational permissions. A Local System Administrator and Local
Storage Administrator can specify the allowed hosts only. If other hosts that are not allowed are specified, an
error occurs.

Table 4-68

ModifyHost Command Parameters

Parameter Name Status

Description

objectid

Required

Object ID of the host to be modified.

hostname

Optional

New name for the existing host. Omit this parameter if you do not want to change the
name.

wwnlist

Optional

Comma-separated list of WWNs to replace existing WWNs. When you omit this
parameter, all WWNs in the host will be deleted.

ipaddress

Optional

New IP address for the existing host. Omit this parameter if you do not want to change
the host IP address.

Command execution example:

hdvmcli ModifyHost -o "D:\logs\ModifyHost.log" "objectid=HOST.3" "hostname=snow"

"wwnlist=12.34.56.78.90.AB.CD.EF,01.23.45.67.89.AB.CD.EF" "ipaddress=172.18.32.9"

Command execution result:

RESPONSE

An instance of Host

objectID=HOST.3

name=snow

ipAddress=172.18.32.9

capacityInKB=0

hostType=-1

List of 2 WWN elements:

An instance of WWN

WWN=01.23.45.67.89.AB.CD.EF

An instance of WWN

WWN=12.34.56.78.90.AB.CD.EF

4-6-9 ModifyHostInfo

ModifyHostInfo

modifies a HostInfo record in the Device Manager server (see

Table 4-69

).

Users with access to this command:

Yes: System Administrator, Storage Administrator, Local System Administrator, Local Storage
Administrator

No: Guest, Local Guest