Librenix  
(Show all Debian articles . . .
)  
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Set up a Load Balancer with Failover using HAProxy / Heartbeat on Debian

Up
vote
Down

This article explains how to set up a two-node load balancer in an active/passive configuration with HAProxy 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. HAProxy is session-aware, which means you can use it with any web application that makes use of sessions (such as forums, shopping carts, etc.).
 read more | mail this link | score:7906 | -falko, November 7, 2007
More Sysadmin articles...

Gallery Wrapped Abstract Art

admin headlines

Tutorial: Install Nginx, PHP5, MySQL on Scientific Linux 6.3

Tutorial: CGI Scripts with Nginx on CentOS 6.3

Tutorial: Build an Ubuntu 12.04 LTS server

Using IPv6 on openSUSE 11

Create Remote API Scripts for your Linux Server

Tutorial: Install Lighttpd, PHP5, MySQL (OpenSUSE 11.4)

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin