Changes

Jump to: navigation, search

Load balancing

37 bytes added, 11:38, 18 July 2013
no edit summary
* <tt>icmp</tt>, ping
Traffic is distributed over the active hosts using one of the following methods. Persistence is sometimes provided by the distribution method, and otherwise (in case of for example least-states) by the source-tracking mechanism (if [[#Redirect sticky-address |sticky address] is enabled).
* <tt>loadbalance</tt>, the source IP address of the client, and the IP address and port of the relay
* <tt>source-hash</tt>, the source IP address of the client
==== Redirect sticky address ====
Some protocols need <tt>sticky-session address</tt> in order to load-balance properly, like FTP where the control- (21) and data-connection must end up on the same backend server, or web-sessions which doesn't have a shared session store. The load-balancer uses the firewalls source tracking cache to keep track of previous redirects from a particular source address (IP). This cache has two parameters, one of which you may need to change primarily for web applications.
In the configuration editor, you may set these values in the <tt>firewall {</tt> section.

Navigation menu