6.2

Table Of Contents
Example: Specifying the Load Balancer
To understand how a cluster is used, see the Clustered Dukes Bank sample application. In the Load
Balancer node, click Apache_LB and note that the http_node_ips property refers to all(appserver:ip). The
https_node_ips property references all of the IP addresses for each node within the specified cluster size.
What to do next
Deploy the application. See Chapter 16 Deploying Applications.
Define Multiple NICs for a Node
In most deployments, some servers are deployed to a DMZ zone and some servers are deployed to a
network protected by a firewall.
In the Clustered Duke's Bank sample application, the Load Balancer node is the only node that you
should access from a public network. The Database and Appserver nodes must be deployed in a private
network behind a firewall. The Load Balancer node must also have access to the Database and
AppServer nodes.
In Application Services, to resolve this situation, you can define two NICs on the Load Balancer. Each
NIC must specify a logical network name. At deployment time, the logical network is mapped to an actual
cloud network. When a virtual machine is created, the number of NICs for the virtual machine are derived
from the node.
In the Dukes Bank sample application, the Load Balancer node has two NICs, NIC0 pointing to
ServiceNetwork and NIC1 pointing to MgmtNetwork. Database and Appserver nodes have one NIC
pointing to the ServiceNetwork. At deployment time, ServiceNetwork can be mapped to a cloud network
protected by firewall and MgmtNetwork can be mapped to a public cloud network.
Prerequisites
Familiarize yourself with the predefined IP address property concept when you have multiple NICs in a
virtual machine. See Predefined IP Address Property.
Procedure
1 To add multiple NICs, select a node and click the NICS tab below the node.
You can add up to 10 NICs to a node.
2
To add a NIC, click the Add icon ( ) and specify a logical network name.
3 (Optional) To be part of the same network as another node, pick the network name from the drop-
down menu.
4 Click a different part of the canvas or press Enter to finish adding the NIC.
5 Click Save in the toolbar above the canvas to save your changes.
Using Application Services
VMware, Inc. 158