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

Command execution example 1
This example uses vMA (IP address: 10.208.119.114) to detect two virtualization servers (VMware
ESX, host type: 3), and then registers the information about the detected virtualization servers into the
Device Manager server database.
hdvmcli AddVirtualizationServer -o "D:\logs\AddVirtualizationServer.log"
ipaddress=10.208.119.114 hosttype=3 hostprotocol=Secure hostuserid=vi-admin
"hostuserpassword= boss!"
Command execution result 1
RESPONSE:
An instance of Host
objectID=*****
name=boss.boss1
hostID=13
capacityInKB=21,995,840
hostType=3
managedBy=3
osType=VMware
statusOfDBUpdating=0
virtualizationServerVersion=VMware ESX 4.0.0 build-171294
List of 1 CommParameters elements:
An instance of CommParameters
ipAddress=10.208.119.114
portNumber=5989
protocol=Secure
userID=vi-admin
An instance of Host
objectID=*****
name=boss.boss2
hostID=14
capacityInKB=21,995,840
hostType=3
managedBy=3
osType=VMware
statusOfDBUpdating=0
virtualizationServerVersion=VMware ESX 4.0.0 build-171294
List of 1 CommParameters elements:
An instance of CommParameters
ipAddress=10.208.119.114
portNumber=5989
protocol=Secure
userID=vi-admin
*****: The values are encoded by the CLI.
Command execution example 2
This example uses Host Data Collector (IP address: 10.208.119.110) to accesses a virtualization
server (IP address: 10.208.119.113 and detect VMware ESX (host type:3), and then registers the
information about the detected virtualization servers into the Device Manager server database.
Command reference284