Mirroring of Apps across servers

Posted by user1038814 on Pro Webmasters See other posts from Pro Webmasters or by user1038814
Published on 2012-08-31T09:33:30Z Indexed on 2012/08/31 9:51 UTC
Read the original article Hit count: 179

Filed under:
|

We wish to host multiple apps across multiple servers. What we are looking for (ideally) is an existing solution which will work. For example, normally to do it we'd follow a route (for failover) like:

  • App is installed on one server along with mysql database
  • App is also installed on a second server. Rsync is used to mirror the files over to the second server and ensure consistency
  • MySQL is installed with a Master->Slave setup.
  • We use a service such as DNS Made Easy which has a DNS failover. If one server goes down it automatically routes traffic to the backup server

We have done the above a few times and generally its fine. The issue I have here is that the above is for one app. What I would like to look at is how we can manage for multiple apps and if there is a layer (such as VMWare) that has complete mirroring built in at the OS level? For example how do web hosts currently do it when they ensure that more than one machine is running a bunch of hosted websites. If you were running hosting and you had 200 clients on a server you would want the same clients across 2 or more servers and want everything mirrored.

Any advice would be much appreciated.

© Pro Webmasters or respective owner

Related posts about server

Related posts about mirror