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

Manager agents produce HostInfo records, they can be manually created by these commands.
Some commands require a host's server-generated object ID.
AddHost
AddHost adds information about a host server to the Device Manager server.
NOTE:
This command does not support virtualization servers. To register a virtualization server, use the
AddVirtualizationServer command.
Parameters
Table 83 AddHost command parameters
DescriptionStatusParameter name
Name of the new host
You can use a character string of 1-64 bytes for a name.
Spaces at the beginning or end of a name are not registered.
When used with the GUI, follow the GUI specification rules.
Required
hostname
Comma-separated list of WWNsOptional
wwnlist
IPv4 IP address of the new hostOptional
ipaddress
IPv6 IP address of the new hostOptional
ipv6address
Value indicating the host type
When you register a normal host, omit this parameter.
When you register a mainframe host, specify 2.
For details about registering a mainframe host, see Appendix
A on page 429.
Optional
hosttype
Parameter values to obtain in advance
None.
Command execution example
hdvmcli AddHost -o "D:\logs\AddHost.log" "hostname=toro2"
"wwnlist=AA.CC.CC.CC.CC.CC.CC.CC,00.CC.CC.CC.CC.CC.CC.CC"
"ipaddress=192.168.32.63"
Command execution result
RESPONSE:
Command reference240