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

Command execution example
hdvmcli MergeHost -o "D:\logs\MergeHost.log"
"targetname=host0" "hostnames=host6,host7"
Command execution result
RESPONSE:
An instance of Host
objectID=*****
name=host0
hostID=1
capacityInKB=0
hostType=3
managedBy=-1
osType=VMware
statusOfDBUpdating=0
List of 2 WWN elements:
An instance of WWN
WWN=50.06.0E.80.05.27.35.47
An instance of WWN
WWN=10.00.00.00.C9.3D.2A.88
*****: The value is encoded by the CLI.
ModifyHost
ModifyHost modifies information about a host server.
NOTE:
This command cannot change WWN information or the OS type for the external port of a host.
This command cannot change the OS type for a mainframe host.
This command does not support virtualization servers that were registered with vMA or Host Data
Collector. To modify information about a virtualization server that was registered with vMA or
Host Data Collector, use the ModifyVirtualizationServer command.
Format
When the type of host is a normal host, virtualization server, external port, or mainframe host:
hdvmcli [URL] ModifyHost [options]
{objectid=object-ID-of-host-to-be-changed
[{hostname=new-name-of-host|newhostname=new-name-of-host}]
|hostname=name-of-host-to-be-changed [newhostname=new-name-of-host]}
[wwnlist=WWN-list-to-replace-existing-WWN]
[ipaddress=new-IPv4-IP-address-for-existing-host]
[ipv6address=new-IPv6-IP-address-for-existing-host]
[takeoverwwn=true] [ostype=OS-type-after-modification]
CLI Reference Guide 307