CentOS/RHEL Watchdog install 
Watchdog is a software which resets the machine if the machine is in some of the crash defunct state but the kernel lives somehow. The watchdog can be configured to check if the system is responsive via writting to the /dev/watchdog and some other subsequent check could be set up as well.

Watchdog opens /dev/watchdog and keeps writing to it often enough to keep the kernel from resetting, at least once per minute. Each write delays the reboot time another minute. After a minute of inactivity the watchdog hardware will cause the reset. In the case of the software watchdog the ability to reboot will depend on the state of the machines and interrupts.

# yum install watchdog

watchdog consists of the watchdog daemon and a kernel module softdog.


If the watchdog complains the device through which the process comunicates with the module /dev/watchdog is missing you have to create the device

# mknod /dev/watchdog c 10 130

in basic configuration the only change sufficient in /etc/watchdog.conf is to uncomment

file = /var/log/messages
watchdog-device = /dev/watchdog

I do recommend to check the watchdog documentation bundled in /usr/share/doc/watchdog

# rpm -ql watchdog

[ add comment ] ( 15 views )   |  [ 0 trackbacks ]   |  permalink

<<First <Back | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | Next> Last>>