6.2

Table Of Contents
Deploying and Updating an Application Using CLI
To deploy an application, you must log in as an application publisher and deployer.
Before you deploy an application, verify that you have a deployment profile that is complete, saved, and
free of validation errors. You also need the name of the application. Verify that the deployed application
includes a clustered node before you initiate an update process to scale a clustered node.
You can perform a quick deployment of an application, check the status of an application deployment,
initiate a scale out process for a deployed application, or use the CLI to modify service and application
component configurations of deployed applications using the CLI. You can use the Application Services
user interface to perform all of these tasks. See Quick Deploy an Application, Using the Deployment
Summary Page, Initiate an Update Process to Scale Out Deployments, or Initiate an Update Process to
Modify Configurations.
You can also view the deployed virtual machine status from the vCloud Director,vRealize Automation, and
Amazon EC2 user interfaces.
Table 203. Deploy or Update an Application in the CLI
CLI Command Description
deploy-application --destination ApplicationName-
ApplicationVersion-DeploymentProfileName
Deploys an application blueprint.
For example, to deploy the Clustered Dukes Bank application,
version 2.1.0, with the prod-dep deployment profile, use the
command deploy-application --destination "Clustered
Dukes Bank App-2.1.0-prod-dep".
Enter deploy and press the Tab key to display the possible
options for the command. If the list does not display quotation
marks for multiple words with spaces between the words, enclose
the words in quotation marks.
deployment-status --deploymentName DeploymentName
Shows the status of the latest deployment.
If an application deployment fails, you can collect the virtual
machine-specific log files to troubleshoot the problem. See the
VMware vCloud Automation Center Application Services
Troubleshooting guide .
Using Application Services
VMware, Inc. 249