This site best when viewed with a modern standards-compliant browser. We recommend Firefox Get Firefox!.

Linux-HA project logo
Providing Open Source High-Availability Software for Linux and other OSes since 1999.

USA Flag UK Flag

Japanese Flag

Homepage

About Us

Contact Us

Legal Info

How To Contribute

Security Issues

This web page is no longer maintained. Information presented here exists only to avoid breaking historical links.
The Project stays maintained, and lives on: see the Linux-HA Reference Documentation.
To get rid of this notice, you may want to browse the old wiki instead.

1 February 2010 Hearbeat 3.0.2 released see the Release Notes

18 January 2009 Pacemaker 1.0.7 released see the Release Notes

16 November 2009 LINBIT new Heartbeat Steward see the Announcement

Last site update:
2014-04-20 08:30:14

Softdog - Standard Linux Software-based Watchdog Timer Device

Softdog is a watchdog device which comes as a standard piece of the Linux kernel. This is basically a software emulation of a hardware watchdog timer. Recent versions of softdog provide for fine-grained watchdog timing, and for a way to tell the system to reboot on an "ungraceful" exit, or not. To configure softdog into Heartbeat, use the watchdog directive.

Many versions of softdog turn on an option called nowayout which when configured will cause the system to reboot automatically when the softdog device is closed - no matter how nicely the application asks. This is fairly annoying - since it means you cannot shut down Heartbeat or apphbd without causing a near-immediate system reboot.

If your softdog driver is configured into a monolithic kernel, you need to configure your kernel with the option CONFIG_WATCHDOG_NOWAYOUT turned off.

If your softdog driver is configured as a module, you will need to make sure it is loaded with the nowayout=0 option enabled. To do this, the following string needs be added to a couple of system configuration files at boot time.

options softdog nowayout=0

For SUSE LINUX, the files you need to change are /etc/modprobe.conf.local and /etc/modules.conf.local. For other versions of Linux, the filenames may be the same, or they may be different. In addition, you should upgrade to Heartbeat 1.2.1 or later.


See Also: Softdog wikibook entry, How to use a watchdog timer