HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide

DescriptionStatusParameter name
OS type of the host after modification
One of the following values can be specified. The values are not
case-sensitive.
AIX
HP-UX
Linux
SunOS
Windows
VMware
Others
If you specify VMware in this parameter, the host type will be
virtualization server. If you specify a value other than VMware,
the host type will be normal host.
You can specify this parameter for a host whose host type is
normal host or virtualization server.
Optional
ostype
Specify true only if the WWN of a normal host that was
registered earlier is migrated to the virtualization server.
When you specify this parameter to change the WWN of a
virtualization server, if the specified WWN is the same as the
WWN of a normal host that is already registered, the WWN of
the normal host is migrated to the virtualization server.
You can specify this parameter for a host whose host type
becomes virtualization server after the ModifyHost command
was executed. When you omit this parameter, if the specified
WWN is the same as the WWN of a normal host, an error
occurs.
Optional
takeoverwwn
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" "ostype=VMware" "takeoverwwn=true"
*****: The value is encoded by the CLI.
CLI Reference Guide 309