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

  1. Click Applications button.
  2. In the Applications list, click an application.
  3. Click the Distribution tab.
  4. Select a node from the Available Nodes list and click .
  5. Click Save.

CLI

Procedure

  1. 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>			
  2. 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" />
  3. Invoke the command-line interface on the build file.