Comments on How To Set Up A Loadbalanced High-Availability Apache Cluster

How To Set Up A Loadbalanced High-Availability Apache Cluster This tutorial shows how to set up a two-node Apache web server cluster that provides high-availability. In front of the Apache cluster we create a load balancer that splits up incoming requests between the two Apache nodes. Because we do not want the load balancer to become another "Single Point Of Failure", we must provide high-availability for the load balancer, too. Therefore our load balancer will in fact consist out of two load balancer nodes that monitor each other using heartbeat, and if one load balancer fails, the other takes over silently.

11 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

thank you falko, it is the best guide.

Regards

noahlau

By:

I must prove it in Ubuntu 6.06
 
....
 
thks.

By: John Wards

Just a note to say that this tutorial works in 8.10 i386 server.

 I believe it won't work in x64.

By: Jimmy

This was one of the best cluster guides I have seen. Just wanted to say thank you. We are using it on onelight.

By: Anonymous

How hard would it be to set up ISPConfig in a similar fashion?

By:

Tested and approved with Debian GNU/Linux 2.6.26 and backports.

 I'm wondering why there are loaded both of the scheduling "lblc" and "lblcr" ? If we have only two nodes in our cluster

 then cannot be talk for a "server set" and replication scheduling will be senseless.

 Correct me if i'm wrong.

 With respect: Imagandi

By: Anonymous

Hello Everyone.. sorry if this is not the best place to ask, but I was just wondering..

Will I need a Layer4 Switch to have all this settings working?

If I do configure my nodes as above without it (switch) will I be able to still have a load-balanced Apache without it?

 Thanks so much, and appreciate the effort to make this tutorial.

See ya.

By: Anonymous

Thanks for this article............

By: Anonymous

Layer 3*

And no the switches "think" the ip is on both of the load balancers. It doesnt matter where it gets to since the load balancers will make sure the request gets to a node.

 

read : http://www.linuxvirtualserver.org/docs/ha/ultramonkey.html

By: Mahbubul Hasan Laskar

Hello Everyone.

I have got three tomcat servers and a front end apache httpd server which is also the load balancer. I want similar configuration but my apache httpd servers run on Windows OS. Ultramonkey does not work on windows and I have not found anything else. Is it possible to acheive multiple load balancers running on Windows OS?

 

Thanks

By: Pete

Hi, If a user can not access the website in the cluster. What can be the problem and how you will troubleshoot it?