LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Heartbeat - secondary node takes over for a short time only! (https://www.linuxquestions.org/questions/linux-newbie-8/heartbeat-secondary-node-takes-over-for-a-short-time-only-771627/)

pyruby 11-25-2009 11:24 PM

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.

EricTRA 11-26-2009 12:03 AM

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

pyruby 11-26-2009 02:57 AM

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.

EricTRA 11-26-2009 03:07 AM

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 09:43 PM.