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.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th December 2008, 06: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.

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

Any errors in your logs?
__________________
Falko
--
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
  #3  
Old 19th February 2009, 20:43
bhellman bhellman is offline
Junior Member
 
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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
Reply

Bookmarks

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 14:52
Load balancing on Fedora with Heartbeat (MySQL Cluster) rwillie6 HOWTO-Related Questions 7 17th December 2009 12:32
mysql cluster with load balance minus4 Technical 7 16th December 2007 14:04
How do I add mysql to the NFS heartbeat setup? jakev383 HOWTO-Related Questions 1 1st December 2007 13:11
problem with load-balanced mysql cluster MvdB HOWTO-Related Questions 4 16th October 2006 11:15


All times are GMT +2. The time now is 16:18.


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