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

DescriptionStatusParameter name
Comma-separated list of WWNs to replace existing WWNs
If you omit this parameter, all WWNs in the host will be deleted.
Optional
wwnlist
New IPv4 IP address of an existing host
Omit this parameter if you are not changing the IPv4 IP address
of the host.
Optional
ipaddress
New IPv6 IP address of an existing host
Omit this parameter if you are not changing the IPv6 IP address
of the host.
Optional
ipv6address
Parameter values to obtain in advance
objectid
Obtain this value from the execution result of the GetHost command. In the execution result of
this command, the objectID value appears under An instance of Host. Use this objectID
value to specify the objectid parameter.
hostname
Obtain this value from the execution result of the GetHost command. In the execution result of
this command, the name value appears under An instance of Host. Use this name value
to specify the hostname parameter.
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"
*****: 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=-1
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.
CLI Reference Guide 253