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

ModifyHost
ModifyHost modifies information about a host server.
NOTE:
This command cannot change WWN information for the external port of a host.
This command does not support virtualization servers. To modify information about a virtualization
server, use the ModifyVirtualizationServer command.
Format
When the type of host is a normal host, 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]
Parameters
Table 92 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
Command reference252