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

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 89 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 455.
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:
An instance of Host
objectID=*****
name=toro2
CLI Reference Guide 269