Heartbeat - secondary node takes over for a short time only!
Linux - NewbieThis 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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.