6.2

Table Of Contents
You can also initiate an update process to scale out a deployed application from the command-line
interface. See Deploying and Updating an Application Using CLI. With REST APIs in Application
Services, you can automate the scale out of a deployed application. See Using Application Services
REST APIs document document.
An update process to scale a deployment might fail sometimes. A cleanup to delete the new virtual
machines is required following the scaleout update failure. Deprovisioning the newly created virtual
machines manually is a tedious task and is difficult for external services users. To avoid the manual effort,
automatic deletion of virtual machines is considered. Set the following flag to true, to enable automatic
cleanup of virtual machines after a scaleout failure:
n
VM_CLEANUP_AFTER_UPDATE_FAILURE
You can set the flag post deployment and scaleout or rollback at a later time. If you do not wish to
deprovision the virtual machines automatically, set the flag to False.
Prerequisites
n
Log in to Application Services as an application publisher and deployer.
n
Familiarize yourself with the basic concepts of defining and configuring component properties and
actions. See Chapter 12 Developing Application Services Components.
n
The deployed application must include at least one clustered node. See Specify a Node as a Cluster.
n
If you plan to add a custom task, verify that at least one custom task is created in the Application
Services library. See Add a Custom Task to the Library.
n
Verify that the initial deployment is successfully deployed to a cloud environment.
You cannot scale clustered nodes from a failed deployment or after a failed scale operation.
n
Contact your cloud administrator to get information about the deployment environment storage space
limit.
Procedure
1 On the Application Services title bar, click the drop-down menu and select Deployments.
2 Select an application deployment that is successfully deployed.
3 From the Operations drop-down menu in the toolbar, select Update.
The Update Profiles page opens.
4 Select Create Update Profile.
The Update Profile dialog box opens.
5 In the Update Type drop-down menu, select Scale Out.
6 Name the scaled update process, add an optional description, and click OK.
In the description, you can add information about the changes included in this update.
Using Application Services
VMware, Inc. 198