beautypg.com

HP XP Command View Advanced Edition Software User Manual

Page 201

background image




Command line interface commands



201

Table 4-88

ModifyHostInfo command parameters

Parameter Name

Status

Description

devnum

Optional

New device number of the path
Omit this when no change is required.
This parameter can be specified in decimal, and in colon-separated
hexadecimal. If you specify a hexadecimal number, for
XP12000/XP10000/SVS200, XP1024/XP128, and XP512/XP48, use the
xx:yy format, where xx is the CU number, and yy is the LDEV number. For
XP24000/XP20000, use the ww:xx:yy format, where ww is the LDKC
number, xx is the CU number, and yy is the LDEV number. ww is optional. If
you omit ww, the LDKC number is regarded as 0.

NOTE:

The execution results are output in decimal.

portwwn

Optional

New port WWN on the host bus adapter
Omit this when no change is required.

filetype

Optional

New type of the file System
Omit this when no change is required.

filename

Optional

New name of the file System
Omit this when no change is required.

size

Optional

New LUN size in MB
Omit this when no change is required.

percentused

Optional

New percentage of the LUN in use
Omit this when no change is required.

Command execution example: In this example, the CLI command makes the following
modifications to the host-based information (object ID:
HOSTINFO.MY_HOSTINFO_XP1024.0.15.1

).

The newly connected storage subsystem is a storage subsystem (serial number: 10001,
model: XP1024).

The HostInfo record name is changed to MY_HOSTINFO_XP1024.

The new IP address is 111.111.111.111.

E:

is the new mount point of the host file system.

The LUN that is used is identified as follows: port number: 7, domain ID: 0, device number: 2.

The new WWN for the HBA is 11.33.55.77.99.BB.DD.FF.

The new file system name is oo, and the new file system type is NTFS1.

156

MB is secured for the new LUN, and the new percentage of use is set to 50% of the LUN

size.

hdvmcli ModifyHostInfo -o "D:\logs\XP1024 ModifyHostInfo.log" "objectid=*****"
"model=XP1024" "serialnum=10001" "hostname=MY_HOSTINFO_XP1024"
"ipAddress=111.111.111.111" "mountPoint=E:" "port=7" "domain=0" "devnum=2"
"portwwn=11.33.55.77.99.BB.DD.FF" "filetype=NTFS1" "filename=oo" "size=156"
"percentused=50"

*****

: The value is encoded by the CLI.

Command execution result:

RESPONSE

An instance of HostInfo

objectID=*****

name=MY_HOSTINFO_XP1024