Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 4th December 2008, 07:29
jyoukhana jyoukhana is offline
Junior Member
Join Date: Dec 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with drbd, heartbeat and mysql

i set up two machines to be a cluster, they both have drbd and heartbeat running and working, the shared resource is a mysql database. The problem i got is when the nodes are connected again after being disconnected, drbd thinks the nodes are not connected and are always on a standalone status.

What this means is say after unplugging the cable that is used for the direct drbd connection between these two computers the status changes to standalone which is the correct behavior but when i put the cable back in they will never connect and stay as a standalone connection.

So any help on why this is happening or how to fix it is appreciated.

Reply With Quote
Sponsored Links
Old 5th December 2008, 17:11
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Any errors in your logs?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 19th February 2009, 21:43
bhellman bhellman is offline
Junior Member
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

The reason you are seeing this is because you are manually inducing a split brain, the worst possible case scenario. This is not something that should ever occur in a properly configured custer.

For your test fail over try taking one node offline via the interface connected to the switch, or unplugging the power to the node.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql clustering hello1 Server Operation 6 23rd May 2012 15:52
Load balancing on Fedora with Heartbeat (MySQL Cluster) rwillie6 HOWTO-Related Questions 7 17th December 2009 13:32
mysql cluster with load balance minus4 Technical 7 16th December 2007 15:04
How do I add mysql to the NFS heartbeat setup? jakev383 HOWTO-Related Questions 1 1st December 2007 14:11
problem with load-balanced mysql cluster MvdB HOWTO-Related Questions 4 16th October 2006 12:15

All times are GMT +2. The time now is 14:55.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.