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

Parameters
Table 85 AddVirtualizationServer command parameters
DescriptionStatusParameter name
IP address
Specify the IP address of the virtualization server or the
virtualization-server management program.
To specify the IP address of the virtualization server, use an IPv4
address. To specify the IP address of the virtualization-server
management program, use either an IPv4 or IPv6 address.
Required
ipaddress
Value indicating the host type
Specify 3.
3 indicates a virtualization server (VMware ESX or VMware ESXi)
Required
hosttype
Protocol of the virtualization server or virtualization server
management program
Specify either of the following:
Non-secure: HTTP communication
Secure: HTTPS communication
Required
hostprotocol
User ID
Specify the user ID used to access the virtualization server or the
virtualization-server management program.
Required
hostuserid
User password
Specify the password for the user ID specified in hostuserid.
Required
hostuserpass-
word
Parameter values to obtain in advance
None.
Command execution example 1
In this example, the command accesses the virtualization server (IP address: 10.208.119.114) to
detect the VMware ESX (host type: 3). For the command, the following parameters are specified: the
virtualization server protocol (Secure), user ID (vi-admin), and password (boss!). The information
about the detected virtualization server will be registered 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=*****
CLI Reference Guide 235