Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com May 22 '11 at 19:48

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

2  
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
add comment

1 Answer 1

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

  • www.linux-ha.org/wiki/Main_Page
  • www.linuxvirtualserver.org
  • www.redhat.com/software/rha/cluster

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
add comment

Your Answer

 
discard

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.