HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
hdvmcli AddHostRefresh -o "D:\logs\AddHostRefresh.log" "objectid=*****"
*****: The value is encoded by the CLI.
Command execution result
RESPONSE:
An instance of Host
objectID=*****
name=rise
hostID=5
ipAddress=192.168.32.164
capacityInKB=0
hostType=-1
managedBy=-1
osType=Windows
statusOfDBUpdating=0
*****: The value is encoded by the CLI.
AddVirtualizationServer
AddVirtualizationServer registers a virtualization server into the Device Manager server
database by using Host Data Collector.
If the target virtualization server is already registered, this command updates the Device Manager
server database with the most recent information. Also, information about virtualization servers that
is no longer being managed by VMware vCenter Server is deleted from the Device Manager server
database.
NOTE:
• Use the AddHost command to register a virtualization server without using Host Data Collector.
• The instance of Host Data Collector to be specified must be set in the hostdatacollect-
ors.properties file, which contains the properties for linking with Host Data Collector. For
details about setting up Host Data Collector, see the manual
HP XP7 Command View Advanced
Edition 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.
CLI Reference Guide 337