Previous Topic: dpmrsi capture_driverset Command--Capture RSI Driverset

Next Topic: dpmrsi collect_drivers Command--Add RSI Drivers

dpmrsi cloud_deploy Command--Deploy RSI Image to AppLogic Grid

Use the dpmrsi cloud_deploy command to deploy an RSI image to a new application based on the specified template to the specified AppLogic grid.

This command has the following format:

dpmrsi cloud_deploy
[-sc sc_url]
-grid gridname
-template templatename
-application applicationname
-config configurationname
-name imagename
-domain domainname
[-serverid serverid]
[-boot_network bootnetwork]
[-depot depotname]
-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

-grid gridname

Specifies the name of the grid (gridname) to use.

-template templatename

Specifies the name (templatename) of the template to use.

-application applicationname

Specifies the name (applicationname) of the application.

-config configurationlist

Specifies a comma-separated list of resource properties to use.

Example: “user=username, password=testpswd, host=hostname”

-name imagename

Defines the name of the RSI image.

-domain domainname

Specifies the name of the RSI domain.

-serverid serverid

(Optional) Specifies the name for the new server in the grid. The server is registered as serverid with the RSI server.

Default: If serverid is not provided, applicationname is used.

-boot_network networkname

Defines the name of the registered boot network on the RSI server. This parameter is required only if there is more than one network (default) registered with the RSI server. Valid entry: any alphanumeric characters.

-depot depotname

(Optional) Specifies the name of the RSI depot.

Example: mydepot

Default: If the -depot switch is not specified, the default depot is used.

-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 (for example: fr_FR for French) to override the default English output. To use the locale of the command prompt, specify "native".

Example: Capture an RSI Driverset

This example creates a new CentOS application in ca-grid and deploys the subth01_RHEL5_OFFLINE_VM image to it.

dpmrsi cloud_deploy
-grid ca-grid
-template VDS_CentOS54_r1
-application subth01-test
-config “user=subth01,user_pw=subth01,root_pw=ca_admin,primary_ip=174.36.85.41,netmask=255.255.255.224,gateway=174.36.85.33,hostname=wallytest2,dns1=4.2.2.2,dns2=4.2.2.3,cpu.dflt=0.50,mem.dflt=1G,VDS_CENTOS54.boot.size=10G”
-name subth01_RHEL5_OFFLINE_VM
-serverid subth01-test
-domain applogic-domain
-depot image
-boot_network applogic-network
-img_host 174.36.85.60
-dc_user admin -dc_password dynacenter
-ws_user admin -ws_password ca_admin