Md at debian.org

tales of a debian maintainer

How to configure the IPMI watchdog

An hardware watchdog will reset the computer if the system watchdog daemon is unresponsive, e.g. because the OS has crashed.

After enabling IPMI on a Linux system you can use this recipe to activate the watchdog in the BMC:


enable_ipmi_watchdog() {
  [ -e /dev/ipmi0 ] || return 1
  
  # default timeout of 10 s raised to allow some recovery time
  echo 'options ipmi_watchdog timeout=23' >> /etc/modprobe.d/watchdog
  modprobe ipmi_watchdog
  echo ipmi_watchdog >> /etc/modules
  
  apt-get install watchdog
  echo 'watchdog-device = /dev/watchdog' >> /etc/watchdog.conf
  /etc/init.d/watchdog start
}

About

This is the blog of Marco d'Itri.

S M T W T F S
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

See also:

My blogroll:


W3C HTML 4.01
W3C CSS 2.0     

Powered by Bryar.pm.