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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-26-2009, 12:24 AM
|
#1
|
LQ Newbie
Registered: Oct 2009
Posts: 17
Rep:
|
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.
|
|
|
11-26-2009, 01:03 AM
|
#2
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
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
|
|
|
11-26-2009, 03:57 AM
|
#3
|
LQ Newbie
Registered: Oct 2009
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
11-26-2009, 04:07 AM
|
#4
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
Have you set it on all the nodes like that and then reloaded or even restarted heartbeat?
Kind regards,
Eric
|
|
|
All times are GMT -5. The time now is 02:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|