In this howto we will build a load-balanced and high-availability web cluster on 2 real servers with Xen, hearbeat and ldirectord. The cluster will do http, mail, DNS, MySQL database and will be completely monitored. This is currently used on a production server with a couple of websites.
This document describes how to set up a two-node load balancer in an active/passive configuration with HAProxy and heartbeat on Fedora 8.
Blogged with Flock