Jump to: navigation, search

Load balancing

1,649 bytes added, 12:38, 26 March 2012
no edit summary
Internet > Halon > Switch > Server2
> Server3
To add a layer 3 load balancer, follow these steps
# Check that the firewall is enabled by looking for a <tt>firewall</tt> statement in the configuration, or rules on the Network > Firewall page (if not, add a rule)
# Go to the Network > Load balancer page, click the "Pools (tables)" button and then click "Add pool"
# Just give it a name, type an IP address in the table's node column (add multiple hosts by pressing the + icon to the right in the table header) and finally click "Apply"
# If you like, click the "Node (hosts)" button and give the IP addresses names
# Click the "Relays (servers)" button, click "Add..." and select "Redirect (layer 3)"
# Just give it a name, listen address (the external virtual IP), listen port, forward pool (the pool you created in step 3) and then click "Apply"
# Click the "Cancel" button, then click the newly added relay in the table, and watch the health check status
=== Layer 4+ (relays) ===
Unlike redirects, relays doesn't require the firewall to be enabled, nor that the load balancer is the servers' default route (gateway). In fact, the most common scenario is to perform layer 4 load balancing with the firewall disabled (removing the <tt>firewall</tt> configuration) and to not use the load balancer as a router. Please keep in mind that if the firewall is enabled (simply check if there are any firewall rules in the configuration), you most likely have to add rules on your own allowing traffic to the relay. The topology would look something like this
<> Server1
Internet > Router > Switch <> Halon Server
<> Server2
To add a layer 3 load balancer, follow these steps

Navigation menu