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

link|improve this question
This topic is well covered on such a general basis: serverfault.com/search?q=lamp+high+availability – Warner Jun 30 '10 at 13:14
feedback

1 Answer

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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