HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

domainID, and portID values to specify the devnum, domain, and port parameters respect-
ively.
portname
Obtain this value from the execution result of the GetStorageArray (subtarget=Port)
command. In the execution result of this command, the displayName value appears under An
instance of Port. Use this value to specify the portname parameter.
Command execution example
In this example, the ModifyHostInfo command makes the following modifications to the host-based
information (object ID: HOSTINFO.MY_HOSTINFO_XP1024.0.15.1).
The newly connected storage system is a storage system (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\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
serialNumber=10001
arrayType=XP1024
ipAddress=111.111.111.111
mountPoint=E:
portID=7
portName=CL1-H
domainID=0
scsiID=15
lun=2
devNum=2
displayDevNum=00:02
osScsiBus=0
osScsiID=15
osLun=1
portWWN=11.33.55.77.99.BB.DD.FF
fileSystemType=NTFS1
Command reference256