[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Linux server, setup heartbeat for mySQL redundancy

I looking for someone to set up two servers using heartbeat so one will take over if the master fails. I want mySQL on them both set up in a Master-Slave. The Slave will only take over if the Master fails and if it fails it will take over when it comes back online. My question is how many hours should I expect an experienced Linux consultant to take to set this up if they are experienced with both heartbeat and mySQL?

Thanks.

T
0
td234
Asked:
td234
  • 2
1 Solution
 
wnrossCommented:
About 1 -2 days.  Do you have a shared disk array?
0
 
td234Author Commented:
Each machine would have its own RAID 5.
0
 
wnrossCommented:
Then you have a cutover problem since if machine A goes doen, then machine B will not have all
transactions performed after the last sync.

You can use something like drbd to force file synchronization however

Also if you are in planning stages, investigate STONITH and a watchdog card.

The STONITH (shoot the other node in the head) card kills the other server if a failure mode exists, the watchdog
card reboots the machine if the processor does not receive a signal from the CPU within a certain threshold.

The STONITH card is probably more important sinceit prevents "split brain" problems.

Cheers,
-Bill

PS: You don't need these to get up and running for non-critical work, but a serious cluster absolutely does.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now