Installation guide

Section A.1:Setting Up Power Switches 157
Note
There may be other server types that support NMI watchdog timers aside
from ones with Intel-based SMP system boards. Unfortunately, there is no
simple way to test for this functionality other than simple trial and error.
The NMI watchdog is enabled on supported systems by adding nmi_watchdog=1 to the kernel’s com-
mand line. Here is an example /etc/grub.conf:
#
# grub.conf
#
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title HA Test Kernel (2.4.9-10smp)
root (hd0,0)
# This is the kernel’s command line.
kernel /vmlinuz-2.4.9-10smp ro root=/dev/hda2 nmi_watchdog=1
# end of grub.conf
On systems using lilo instead of grub, add nmi_watchdog=1 to the "append" section in
/etc/lilo.conf. For example:
#
# lilo.conf
#
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
lba32
image=/boot/vmlinuz-2.4.9-10smp
label=linux
read-only
root=/dev/hda2
append="nmi_watchdog=1"
# end of lilo.conf