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 have a requirement wherein we have to provide servers with hotswap, i.e. 2 redundant servers running a set of applications and database (MySQL in this case) and one should take control when the other fails. After the defunct server is restored, the database should be automatically synchronised. I want to do this using Linux OS and preferably ubuntu or fedora.

Can someone provide me links, where can I get started.

share|improve this question

migrated from May 22 '11 at 19:48

This question came from our site for professional and enthusiast programmers.

This isn't hot-swap - hot-swap refers to being able to replace components of a single server without poweroff. This sounds like high-availability failover. – bdonlan May 22 '11 at 19:48
Thanks bdonlan for the correction, failover was the thing I really meant. – chai May 23 '11 at 6:55

As bdonlan stated, what you want is high-availability (HA) failover. You can learn about HA with linux at


More importantly, you will need to failover your MySQL database. This gets to be very complex with things such as how you plan the data replication between your nodes. Read up on MySQL cluster and MySQL replication

share|improve this answer

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.