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

Format
When registering information about a virtualization server:
hdvmcli [URL] AddVirtualizationServer [options]
ipaddress=IP-address hosttype=3 hostprotocol={Secure|Non-secure}
hostuserid=user-ID hostuserpassword=user-password
Parameters
Table 86 AddVirtualizationServer command parameters
DescriptionStatusParameter name
IP address
Specify the IP address of the virtualization-server management
program.
You can specify an IPv4 or IPv6 IP 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 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
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
In this example, the command accesses the virtualization-server management program (IP address:
10.208.119.114) to detect two instances of the VMware ESX (host type: 3) that are registered in
the virtualization-server management program. For the command, the following parameters are
specified: the protocol of the virtualization-server management program (Secure), user ID (vi-admin),
and password (boss!). The information about the detected virtualization servers 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 reference246