
66
The presence designated at timeout period, you can confirm it in having
explanation or not of watchdog-timeout of "man watchdog.conf".
[In the case of the watchdog package which cannot appoint timeout period]
----------------------------------------
watchdog-device = /dev/watchdog
interval = 30
----------------------------------------
[In the case of the watchdog package which can appoint timeout period]
----------------------------------------
watchdog-device = /dev/watchdog
interval = 30
watchdog-timeout = 180 -> Appoint timeout period with number of seconds.
----------------------------------------
In this case appoint 180 seconds.
* Set Update Interval by the number of seconds in ‘interval=’.
In this case Update Interval is 30 seconds
3-2) Set that WDT Update program is possible to start automatically.
# chkconfig watchdog on
watchdog package is not installed
3-1) Referring to the following and create WDT Update program.
The file name is assumed to be "ResetWDT" in this case.
----------------------------------------
#!/bin/sh
while true
do
/usr/bin/ipmitool raw 0x6 0x22 > /dev/null 2>&1
sleep 30
done
----------------------------------------
* Set Update Interval by the number of seconds in ‘sleep=’.
Update Interval is 30 seconds in this case.
3-2) Copy WDT Update program to /usr/sbin.
# install -p -m 755 ResetWDT /usr/sbin
3-3) Refer to the following and create WDT Update program script.
The file name is assumed to be "watchdog" in this case.
----------------------------------------
#! /bin/sh
#
Comentarios a estos manuales