background preloader

Tuto

Facebook Twitter

Ubuntu Server Guide - serverguide.pdf. SOS Iphone. Astuces développeur WEB, exemples flash, librairie PHP, plugin SPIP, étude méthodologie de (...) Quesaco. Problème avec Qmail Release 2. HowtoForge - Linux Howtos and Tutorials. Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Heartbeat On Debian Lenny. Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Follow me on Twitter Last edited 05/15/2009 This article explains how to set up a two-node load balancer in an active/passive configuration with HAProxy and heartbeat on Debian Lenny. 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.

From the HAProxy web site: "HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. I do not issue any guarantee that this will work for you! 1 Preliminary Note In this tutorial I will use the following hosts: Here's a little diagram that shows our setup: 2 Preparing The Backend Web Servers http1/http2: lb1/lb2: