HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)

Command execution example
hdvmcli ModifyHost -o "D:\logs\ModifyHost.log"
"objectid=*****" "hostname=snow"
"wwnlist=12.34.56.78.90.AB.CD.EF,01.23.45.67.89.AB.CD.EF"
"ipaddress=172.18.32.9" "ostype=VMware" "takeoverwwn=true"
*****: The value is encoded by the CLI.
Command execution result
RESPONSE
An instance of Host
objectID=*****
name=snow
hostID=1
ipAddress=172.18.32.9
capacityInKB=0
hostType=3
managedBy=-1
osType=VMware
statusOfDBUpdating=0
List of 2 WWN elements:
An instance of WWN
WWN=12.34.56.78.90.AB.CD.EF
An instance of WWN
WWN=01.23.45.67.89.AB.CD.EF
*****: The value is encoded by the CLI.
ModifyHostInfo
ModifyHostInfo modifies a HostInfo record in the Device Manager server.
NOTE:
This command does not support virtualization servers.
Parameters
Table 120 ModifyHostInfo command parameters
DescriptionStatusParameter name
Object ID of the HostInfo record to modify
Specify the object ID obtained from another CLI response. The
value is encoded by the CLI.
Required
objectid
New serial number of the path's storage system
Omit this when no change is required.
Optional
serialnum
Command reference364