HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
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 Host Data Collector.
To modify information about a virtualization server that was registered with 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]
Parameters
Table 119 ModifyHost command parameters
DescriptionStatusParameter name
Object ID of the host to modify
You must specify objectid or hostname.
Optional
objectid
Name of the host to modify
Omit this parameter if you do not want to change the name.
You can use a character string of 1-64 bytes for a name.
The value specified for this parameter differs depending on
whether objectid is specified.
When objectid is specified:
Specify the new name of the host.
When objectid is not specified:
Specify the host name to manipulate
Spaces at the beginning or end of a name are not registered.
When used with the GUI, follow the GUI specification rules.
You must specify objectid or hostname.
Optional
hostname
New name of the host
If you specify this parameter, you must also specify objectid
or hostname.
Optional
newhostname
Comma-separated list of WWNs to replace existing WWNs
If you omit this parameter, all WWNs in the host are deleted.
Optional
wwnlist
Command reference362