How to configure a load balancer
One of the functions of the edge gateway is to act as a basic Layer 3 load balancer, distributing IP traffic to a pool of servers while appearing as a single virtual server. The load balancing methods offered are round-robin, IP hash, URI, HTTP header or least connected.
Bear in mind, however, that the edge gateway load balancer is quite basic. If you need to meet more complex requirements, you'll need provide your own third-party virtual load balancer.
Configuring a load balancer
To configure a load balancer:
In the vCloud Director Virtual Datacenters dashboard, select the VDC that contains the edge gateway in which you to configure the load balancer.
In the left navigation panel, click Edges.
Select the edge that you want to configure and click Configure Services.
Select the Load Balancer tab.
On the Global Configuration tab, enable the Enabled option.
If you have a syslog server configured, enable the Enable Logging option.
For more information about syslog servers, see How to access syslog data for your advanced gateway
Click Save changes.
Configuring a pool server
Pool servers are the real servers that will be masked by the load balancer.
Before you configure the pool of servers, make a list of their IP addresses so that you can populate the pool later in the procedure.
Select the Pools tab.
Click the + button.
In the Add Pool dialog box, enter a Name and Description.
The pool name should not include any spaces.
From the Algorithm list, select the load balancing algorithm to use.
From the Monitors list, select the monitors policy.
Enable the Transparent option if you want IP addresses to be transparent.
In the Members section, click +.
In the Add Member dialog box, in the Name field, enter the server Name, IP Address, Port and Weight. When you're done, click Keep.
Add more pool members as required and when you're done, click Keep.
To view the status of pool members, click Show Pool Statistics.
Configuring a virtual server
A virtual server masks the pool of real servers and presents a single IP address.
Select the Virtual Servers tab.
Click the + button.
In the Add Virtual Server dialog box, enable the Enable Virtual Server option.
Enter a Name for the virtual server, assign it a virtual IP Address, and assign it to the server pool you want to mask. You can also choose which services you want to apply to the virtual server. When you're done, click Keep.
In this article you've learned how to create firewall rules. For other edge gateway configuration tasks, see: