6.2

Table Of Contents
Procedure
1
To create dependencies between services or application components, click Add a Dependency ( )
in the toolbar at the top of the canvas.
2 Select the first component, then the component on which it depends.
For example, because a load balancer usually cannot be configured until the application is up and
running, you might add a dependency from an Apache service to a WAR component.
A blue dotted line appears and points to the dependent component.
3 When you are finished, click Save in the toolbar above the canvas.
Example: Create Dependency from JBoss to MySQL
For example, you might create a dependency line from the JBoss service to the MySQL service.
This blue line that appears indicates that the application server JBoss, is dependent on having the
MySQL database, created and configured.
What to do next
Deploy the application. See Chapter 16 Deploying Applications.
Specify a Node as a Cluster
For scaling deployments, you might need to deploy multiple virtual machines or a cluster for a particular
node and use a load balancer to manage them.
Prerequisites
Familiarize yourself with the basic concepts of binding to another property, node array index property, and
defining component actions. See Chapter 12 Developing Application Services Components.
Procedure
1
To specify a cluster of virtual machines, click the Convert to Node Array icon ( ) in the node.
2 Below the blueprint, set the cluster size.
3 Bind to a property like node_array_index to identify in which virtual machine the current script is
running.
You can find the IP addresses of all the virtual machines in a cluster by binding a property to
all(node:ip).
4 (Optional) If other properties refer to a cluster property, define the component properties to access the
array of property values from the clustered nodes.
5 Click Save in the toolbar above the canvas.
Using Application Services
VMware, Inc. 157