HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

DescriptionStatusParameter name
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=*****
name=boss.boss
hostID=13
capacityInKB=21,995,840
hostType=3
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 value is encoded by the CLI.
Device Manager CLI command reference220