Heartbeat may log some messages to syslog with a priority of LOG_DEBUG. For the purposes of debugging, to ensure that these, and all other messages produced will be logged to disk by syslog add the following to /etc/syslog.conf. Note that the default facility used is local0. This is configurable in the ha.cf file and the syslog configuration should match.
Once this is done restart syslogd. If syslog was installed as a package this may be done using the syslog init script.
On Red Hat 8.0 and 7.3:
/etc/init.d/syslog restart Shutting down kernel logger: [ OK ] Shutting down system logger: [ OK ] Starting system logger: [ OK ] Starting kernel logger: [ OK ]
/etc/init.d/sysklogd restart Stopping system log daemon: syslogd. Starting system log daemon: syslogd.
Otherwise, this may done by sending syslogd a SIGHUP to the running syslogd process.
killall -HUP syslogd
If heartbeat looses communication with another node then it will mark the node as unavailable. If the loss of communication occurs because of a communication-media failure, for example the only ethernet link connecting two nodes is unplugged, then both nodes will mark each other as unavailable and take over resources.
In the case of IP address takeover this may result in two machines having the same IP address. This should not be critical as the nodes can't communicate with the network anyway. Once network communication is restored then heartbeat should resolve this and only one node will have the virtual IP address. However, for some resources - for instance shared disk - this may be a critical problem.
The best way to avoid this is to make sure that communication-media failures do not occur by having multiple links between nodes. One or more ethernet links and one or more null-modem links is recommended. It is generally advisable to configure Heartbeat to communicate over all available links.
Copyright © 2000-2005,
Last Updated: Tue May 17 17:37:24 2005 +0900
Debian is a registered trademark of Software in the Public Interest, Inc.
Red Hat, the Red Hat Shadowman logo and Fedora are registered trademarks of Red Hat, Inc.
Red Hat may also be refered to as RedHat on this site.
Linux is a registered trademark of Linus Torvalds.
All other trademarks are the property of their respective owners.