Distributing an Application
Applies only to applications created with a Manual distribution mode. An application must be distributed before it can be deployed. You can change the distribution at any time and apply the change by re-deploying the application.
The allowable nodes are those in the same environment as the application.
GUI
- Procedure
- Click Applications button.
- In the Applications list, click an application.
- Click the Distribution tab.
- Select a node from the Available Nodes list and click
.
- Click Save.
CLI
- Procedure
- In the data file, specify
Application and Node elements in base or full format. You can distribute the
entire application to a set of nodes using what is described. However, you can
also distribute pieces of an application to one or more nodes. These can be
components, promoted service bindings, promoted reference bindings or logical
nodes. For components, they can be either composite type components or runtime
components.
<Application xsi:type="amxdata:Application" name="testApp"> <Node name="node1" environmentName="DevEnvironment" /> </Application>
- In the build file, set the
action
attribute of the
AMXAdminTask element to
add and the
objectSelector attribute to
*/Application.
<AMXAdminTask action="add" objectSelector="*/Application" />
- Invoke the command-line interface on the build file.