Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running LAMP application server and planning to implement Redundant/Fail over/Load balancing Setup.Can someone give me some insights in designing the solution?

Any help..thanks in advance.

Regards, Ganesh

share|improve this question
This topic is well covered on such a general basis: – Warner Jun 30 '10 at 13:14

You haven't specified how many servers you have. I'll suppose that you have two.

With 2 servers you can do e.g. the following:

  • create an external DNS records that point to 2 different IP addresses
  • assign these 2 IP addresses to 2 cluster services
  • the master node of the 2 cluster services should be on different machines

This takes care for the redundancy on the webserver level. There are other solutions as well and depending on your availability/load balancing needs you can skip parts of the above 3 steps.

Regarding MySQL the best solution depends on the read/write characteristics of the application. Check the MySQL documentation for a starting point and implement either a MySQL cluster or a replicated MySQL database.

share|improve this answer
+1: saves me explaining again why round-robin is the right solution for load-balancing / failover. – symcbean Jun 30 '10 at 12:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.