Previous Topic: dpmapplogic gettemplatedetail Command--Get CA AppLogic Template Details

Next Topic: dpmapplogic renameapplication Command--Rename CA AppLogic Application


dpmapplogic provisionapplication Command--Provision CA AppLogic Application

The dpmapplogic provisionapplication command provisions an application based on the specified CA AppLogic template with the resources in the specified configuration.

This command has the following format:

dpmapplogic provisionapplication
[-sc sc_url]
-grid gridname
-template templatename
-application applicationname
-config configurationname
[-sync]
[-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”

-sync

(Optional) Indicates that the task should execute synchronously and wait until the backend implementation completes. If -sync is not specified, the task executes asynchronously, and issues a job ID for job tracking.

-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: Provision a CentOS Application to AppLogic

This example provisions an instance of the VDS_CentOS54_r1 template to the org-grid with name 01-test.

dpmapplogic provisionapplication
-grid ca-grid
-template VDS_CentOS54_r1
-application 01-test
-config "user=user01, user_pw=pwd01, root_pw=rootpwd, 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"