Comments on Setting Up A High-Availability Load Balancer (With Failover and Session Support) With Perlbal/Heartbeat On Debian Etch

Setting Up A High-Availability Load Balancer (With Failover and Session Support) With Perlbal/Heartbeat On Debian Etch This article explains how to set up a two-node load balancer in an active/passive configuration with Perlbal and heartbeat on Debian Etch. The load balancer sits between the user and two (or more) backend Apache web servers that hold the same content. Not only does the load balancer distribute the requests to the two backend Apache servers, it also checks the health of the backend servers. If one of them is down, all requests will automatically be redirected to the remaining backend server. In addition to that, the two load balancer nodes monitor each other using heartbeat, and if the master fails, the slave becomes the master, which means the users will not notice any disruption of the service. Perlbal is session-aware, which means you can use it with any web application that makes use of sessions (such as forums, shopping carts, etc.).

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

What happens when the load balancer fails?  Then you have no service at all...

By: admin

That's why I'm using two load balancers in a failover configuration...

By: Todd

For a full setup instructions for Kemp's load balancer, check this "manual" out:

http://kemptechnologies.com/pr/reviews/08-20-08-lbdigest.com.shtml?utm_source=howtoforge&utm_medium=pv&utm_campaign=setup

By: Anonymous

shared IP=192.168.0.99 Load Balancer = 192.168.0.100 192.168.0.101 I have only 1 public IP address. How can I set shared IP in different network address of Load Balancer's IP ?