6.2

Table Of Contents
Table 203. Deploy or Update an Application in the CLI (Continued)
CLI Command Description
deploy-application --destination
ApplicationNameApplicationVersion-
DeploymentProfileName --propertiesFile
FileName.xml
Deploys the latest application version with new property values.
You can create a properties file that defines new property values
for required properties and properties that are overridable at
deployment. The following code example defines new values for
the global_conf, http_node_port, and http_server_port properties
in the Apache_LB and AppServer nodes.
<?xml version="1.0" encoding="UTF-8"?>
<ns1:config-update-properties
xmlns:ns1="http://www.test.com/darwin/schema/bean
s/api">
<node>
<name>load_balancer</name>
<node-component>
<name>Apache_LB</name>
<property>
<key>http_proxy_port</key>
<value>9001</value>
</property>
</node-component>
</node>
<node>
<name>appserver</name>
<node-component>
<name>Dukes_Bank_App</name>
<property>
<key>EAR_FILE</key>
<value><!
[CDATA[http://192.10.1.113/Share/UPRConfig/CDB/duk
esbank-2b-Update1-IndexPage.ear]]></value>
</property>
<property>
<key>JAR_FILE</key>
<value><!
[CDATA[http://192.10.1.113/Share/UPRConfig/CDB/mys
ql-connector-java-5.1.8.jar]]></value>
</property>
</node-component>
</node>
</ns1:config-update-properties>
For example, to deploy the Clustered Dukes Bank application
version 2.1.0, with the staging-dep deployment profile, and
new.props properties file, use the command deploy-
application --destination " Clustered Dukes Bank
App-2.1.0-DP_MAN_VCD" --propertiesFile
~/new.props.xml
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.
Using Application Services
VMware, Inc. 250