Rob Morin wrote:
Lars Marowsky-Bree wrote:
On 2008-09-02T12:27:31, Rob Morin <[EMAIL PROTECTED]> wrote:
In a nut shell whenever my secondary goes down the primary also goes
down. When i mean go down , i mean when i stop heartbeat by doing
/etc/init.d/heartbeat stop or by simply rebooting the machine for a
specific reason....
Its hard to get log entries as the primary is a production machine
and i cannot work on it during normal work hours as everything will
go down.... But here is info i can give you.... Once i have more
info from your help to look for i will do some checks after hours....
I am using Debian Etch
I am using heartbeat version 2.0.7-2 ( as per Debian apt-get )
heartbeat 2.0.7 is positively ancient. Do upgrade, please.
the ha.conf and haresources files are the same on both machines. I
know i am a bit behind in the version of heartbeat.... but not sure
why it would do this... it was working fine at one point and then
this issue started happening....
Any ideas, what should i look for... as i mentioned i will try and
see if i can get more loggin...
Yes, read the logs ;-)
ha.conf
----------
logfacility daemon # This is deprecated
keepalive 2 # Interval between heartbeat (HB)
packets.
deadtime 60 # How quickly HB determines a dead node.
warntime 5 # Time HB will issue a late HB.
initdead 120 # Time delay needed by HB to report a
dead node.
udpport 694 # UDP port HB uses to communicate
between nodes.
bcast eth0 eth1
coredumps true
auto_failback on # Auto promotion of primary node upon
return to cluster.
node joe # Node name must be same as uname -n.
node stewie # Node name must be same as uname -n.
respawn hacluster /usr/lib/heartbeat/ipfail
Why are you enabling ipfail, when you don't have any ping nodes?
Possibly that causes this, but I'm not sure at all.
use_logd yes # Use system logging.
logfile /var/log/hb.log # Heartbeat logfile.
debugfile /var/log/heartbeat-debug.log # Debugging logfile.
use_logd overrides all other logging settings you specify, btw. You can
just drop logfile, debugfile, and logfacility.
Regards,
Lars
OK i will remove the ipfail in both configs and give it a try tonight,
and keep the logs in case anything goes amuck...
Thanks for your help
Rob...
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
Just to let you know it worked.... that was the problem the ipfail in
there with no ping node....
Thanks!!
Rob...
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems