Howto Setup Linux Apache Web Server Cluster with Linux Virtual Server and Heartbeat
This article explains howto setup and running with the Linux Virtual Server and Linux-HA.org's Heartbeat in 5 easy steps. You can construct a highly available Apache Web server cluster that spans multiple physical or virtual Linux servers with Linux Virtual Server (LVS) and Heartbeat v2:
Spreading a workload across multiple processors, coupled with various software recovery techniques, provides a highly available environment and enhances overall RAS (Reliability, Availability, and Serviceability) of the environment. Benefits include faster recovery from unplanned outages, as well as minimal effects of planned outages on the end user.
This article illustrates the robust Apache Web server stack with 6 Apache server nodes (though 3 nodes is sufficient for following the steps outlined here) as well as 3 Linux Virtual Server (LVS) directors. We used 6 Apache server nodes to drive higher workload throughputs during testing and thereby simulate larger deployments. The architecture presented here should scale to many more directors and backend Apache servers as your resources permit, but we haven't tried anything larger ourselves. Figure 1 shows our implementation using the Linux Virtual Server and the linux-ha.org components.
However article failed to mention few things such as redundant networking, a cluster file system / shared storage and other stuff. Nevertheless tutorial is a good start for new Linux admin.
=> Set up a Web server cluster in 5 easy steps
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- List of open source cluster management systems
- Download of the day: Wackamolem ~ Making a Cluster Highly Available
- Mount a Linux filesystem on a SAN from multiple nodes at the same time
- Helmer: A Linux Commodity Computing cluster in a IKEA Helmer Cabinet
- Philippine Weather Service Finds Forecasting Cheaper with Debian Linux Cluster
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: apache_web_server, cluster_file_system, heartbeat, linux_admin, linux_virtual_server, lvs, server_cluster, server_nodes



This is how to setup the apache high availability cluster in debian with NFS as data storage, In this setup you can add many servers in cluster.