Previous Topic: dpmrsi register_ext_network Command--Register External Network

Next Topic: dpmrsi remove Command--Remove an RSI Image


dpmrsi register_hypervisor Command--Register Hypervisor

Use the dpmrsi register_hypervisor command to register hypervisors on the RSI server. This command registers all virtual machines managed by the hypervisor with the RSI server. If a hypervisor is currently registered, this command rescans and updates virtual machines.

This command has the following format:

dpmrsi register_hypervisor
[-sc sc_url]
-id hypervisorhostname
-user HypervisorUsername -password HypervisorPassword
-hypervisor_type HypervisorType
-img_host RSIserver
-dc_user RSIapplicationuser -dc_password RSIapplicationpassword
[-ws_user username -ws_password password]
[-locale iso639value]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-id hypervisorhostname

Defines the hostname of the hypervisor controller. Valid entries: any alphanumeric characters.

-user HypervisorUsername

Defines the username for logging in to the hypervisor controller: Valid entries: any alphanumeric characters.

-password HypervisorPassword

Defines the password for logging in to the hypervisor controller. Valid entries: any alphanumeric characters.

-hypervisor_type HypervisorType

Defines the hypervisor type. Valid entries: VMware or HyperV, case sensitive.

-img_host RSIserver

Defines the name of the RSI server.

-dc_user RSIapplicationuser

Defines the RSI application user name.

-dc_password RSIapplicationpassword

Defines the password for the RSI application user.

-ws_user username -ws_password password

(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Register Hypervisors

This example registers a hypervisor.

dpmrsi register_hypervisor
-id ESXserver
-user root -password secret
-hypervisor_type VMware
-img_host rsiserver1
-dc_user user2 -dc_password pass2