HP XP P9000 Replication Manager Software 7.6.1-00 Configuration Guide

Adding a host
This appendix describes how to add a host to Device Manager server by using Device Manager CLI.
Use the AddHost command to register host information into Device Manager server, and then make
Device Manager server recognize the host.
Command format:
AddHost hostname=host-name wwnlist=wwn-list
{ipaddress=IP-address|ipv6address=IP-address}
Table 68 AddStorageArray command parameters
DescriptionParameter name
Specifies the host name to be added.
hostname
Use periods (.) as delimiters.
wwnlist
Specifies the IP address of the host to be added. If you use an
IPv4 address, specify the address for the parameter ipad-
dress. If you use an IPv6 address, specify the address for the
parameter ipv6address.
ipaddress|ipv6address
Command execution example:
The example below shows how to register the host test. The WWN list and IP address are assumed
to be 00.00.00.00.00.00.00.01 and 10.208.176.102, respectively.
hdvmcli AddHost hostname=test wwnlist=00.00.00.00.00.00.00.01
ipaddress=10.208.176.102
Command execution results:
An example of the command execution results is shown below. Check the value for name to make
sure that the host has been registered correctly. In this example, you can see that the host name test
has been registered to name.
RESPONSE:
An instance of Host
objectID=HOST.9
name=test
ipAddress=10.208.176.102
capacityInKB=0
hostType=-1
Configuration Guide 161