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

Parameters
Table 82 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 403.
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
hostID=279
ipAddress=192.168.32.63
capacityInKB=0
hostType=-1
statusOfDBUpdating=0
*****: The value is encoded by the CLI.
AddHostInfo
AddHostInfo adds host-based information about a LUN (information about storage used by hosts).
CLI Reference Guide 229