LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-25-2009, 11:24 PM   #1
pyruby
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Rep: Reputation: 0
Heartbeat - secondary node takes over for a short time only!


I've set up drbd and heartbeat between 2 nodes. When my primary node is dead, the secondary node can take over successfully. However, the secondary node will stop doing anything after around 15 secs. I wonder if there's a time limit specified in some config files, if yes, where should I change it? Pls help! Thanks in advance.
 
Old 11-26-2009, 12:03 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

What's the setting of your auto_failback directive in the ha.cf file? I suspect it's set to on meaning that when the primary node comes back up, the control is returned to the primary one.

Quote:
The auto_failback option determines whether a resource will automatically fail back to its "primary" node, or remain on whatever node is serving it until that node fails, or an administrator intervenes.
You can read more about it here: Linux HA.

Kind regards,

Eric
 
Old 11-26-2009, 02:57 AM   #3
pyruby
LQ Newbie
 
Registered: Oct 2009
Posts: 17

Original Poster
Rep: Reputation: 0
I've set auto_failback = off.
The interesting thing is, while the primary node is still dead, the secondary node will stop taking over after a small amount of time.
 
Old 11-26-2009, 03:07 AM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hi,

Have you set it on all the nodes like that and then reloaded or even restarted heartbeat?

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Windows 7: Microsoft Takes Netbook OEMs on Short Leash LXer Syndicated Linux News 1 08-13-2009 07:27 AM
Benchmarking a tape drive, time to copy takes forever, time to append takes longer? jeriryan Linux - Hardware 2 06-15-2008 12:15 AM
Bind takes long time to replicate A record change to secondary DNS server tech_contact Linux - Networking 3 10-23-2007 07:14 AM
NFS locking problem when using IP alias or secondary IP (Heartbeat) OggVorbis2 Linux - Networking 0 10-16-2007 04:24 AM
Sun Takes Java Just Short of Open-Source Status ernesto_cgf Linux - News 1 03-30-2005 02:12 PM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration