About
This article will explain to you how to config loadbalancer through vCloud Director. Information about configuration dan type of loadbalancer can read on Overview Loadbalancer
Preparation
Before using this guide, please ensure these following:
- You have subscribe Virtual Data Center
- You have deployed more than 1 VMs
- Understanding about logical loadbalancer
Guide
A. Pools Tab
Shows an overview of the selected Network Interface and lets you configure and/or edit the Network as selected from the Drop Down.
1. Clicking on the Load Balancer Tab of your vDC you will see the options listed below. Button to Enable/Disable the Load Balancer (default is disabled)
2. Once enabled the Configuration Tabs will appear from which you configure the details required to get the Load Balancing function working for your service workload.
- Pools: You can add a server pool to manage and share backend servers flexibly and efficiently. A pool manages load balancer distribution methods and has a service monitor attached to it for health check parameters.
- Application Profiles: You create an application profile to define the behaviour of a particular type of network traffic. After configuring a profile, you associate the profile with a virtual server. The virtual server then processes traffic according to the values specified in the profile. Using profiles enhances your control over managing network traffic and makes traffic-management tasks easier and more efficient.
- Application Rules: You can write an application rule to directly manipulate and manage IP application traffic.
- Monitors: You create a service monitor to define health check parameters for a particular type of network traffic. When you associate a service monitor with a pool, the pool members are monitored according to the service monitor parameters.
- Virtual Servers: Add an NSX Edge internal or Uplink interface to act as the virtual server for the Load Balances Service.
3. To create a new Load Balancer Pools, click on the Add Pool Button.
4. Once the Pool has been added click on the Add Member Button to add the VMs that will be part of this Load Balancer Pool.
5. In the Add/Edit Member Window enter in the Member Name, IP Address, Port Number of the service wanting to be load balanced, the weighting and optional Min/Max Connections per Member as well as the Monitor Port.
6. You can add Multiple Members to the Pool and each member will be listed along with their configuration details and status. To Commit the configuration, click on the keep.
B. Application Profiles Tab
Shows an overview of the selected Network Interface and lets you configure and/or edit the Network as selected from the Drop Down.
1. To create a new Load Balancer Application Profile, click on the Add Profile Button.
2. In the Add/Edit Application Profiles Window you are presented with the following options.
3. Depending on what Application Template you Choose you are presented with different options that dynamically change within the configuration window. The above is an example of a basic web application listening on HTTP Port 80.
a. Name: Name of the Application
b. Template:
- HTTP
- HTTPS
- TCP
- UDP
c. HTTP Redirect To: If HTTP/HTTPS are selected you can enter in a URL to force a client to redirect to if they hit the Load Balanced Virtual Server.
d. Insert X-Forwarder-For
e. SSL Passtrough
f. SSL Server Enabled (Hidden)
g. Persistence Methode: Persistence tracks and stores session data, such as the specific pool member that serviced a client rrequest. This ensures that client request are directed to the same pool member troughout the life of a session or during subsequent session.
Traffic Type | Persistence Method Supported |
HTTP | Cookie, SOURCEIP |
HTTPS | Cookie, ssl_session_id (SSL Passthrough enabled) , SOURCEIP |
TCP | SOURCEIP, MSRDP |
UDP | SOURCEIP |
4. To Commit the configuration, click on the Keep Button.