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

NOTE:
Use the AddHost command to register a virtualization server without using vMA or Host Data
Collector.
This command can be used to register the following versions of virtualization servers:
- If using vMA: VMware ESX 4.x or VMware ESXi 4.x
- If using Host Data Collector: VMware ESX 4.x, VMware ESXi 4.x, or VMware ESXi 5.x
The information collection method of a virtualization server that was registered with vMA can be
switched to using Host Data Collector. However, management cannot be switched from management
using Host Data Collector to management using vMA.
Before you start working with Host Data Collector, make sure that it is set in the hostdatacol-
lectors.properties file, which contains the properties for linkage with Host Data Collector.
For details about setting up Host Data Collector, see the manual
HP P9000 Command View Ad-
vanced Edition Suite Software Administrator Guide
.
Notes for registering a virtualization server with a configuration in which VMware vCenter Server
is used to perform integrated management on virtualization servers are described below.
- Virtualization servers registered in VMware vCenter Server for a particular IP address of a virtu-
alization server are registered on the Device Manager server with the IP address as the host name.
This is because the name of a virtualization server registered on a VMware vCenter Server is re-
gistered as the Device Manager server host name .
- If the virtualization server is cut off from VMware vCenter Server and then reconnected, that
virtualization server might not be registered correctly in the Device Manager server. In this situation,
use the management client for the virtualization server to remove the target virtualization server
from VMware vCenter Server, and then register it again. After that, register it on the Device
Manager server.
Format
When registering information about a virtualization server with vMA:
hdvmcli [URL] AddVirtualizationServer [options]
ipaddress=IP-address-of-vMA hosttype=3
hostprotocol={Secure|Non-secure} hostuserid=user-ID-of-vMA
hostuserpassword=user-password-of-vMA
When registering information about a virtualization server with Host Data Collector:
hdvmcli [URL] AddVirtualizationServer [options]
ipaddress=IP-address-of-virtualization-server
#
hosttype=3
hostprotocol={Secure|Non-secure} hostuserid=user-ID-of-virtualization-server
#
hostuserpassword=user-password-of-virtualization-server
#
hdcipaddress=IP-address-of-Host Data Collector
#
Specify the value of VMware vCenter Server in a configuration in which VMware vCenter Server
is used to perform integrated management on virtualization servers.
CLI Reference Guide 281