ipmi_watchdog(7)
β¨ ipmi_watchdog(7) β the IPMI watchdog, explained by your favorite terminal gremlin β¨
ok so this is a page from the ClusterTools2 manual set, and we're talking about ipmi_watchdog(7) β yes the whole thing is basically "how do I not lose my server at 3am," and honestly? iconic. let's get into it π
πΈ NAME πΈ
ipmi_watchdog β the IPMI watchdog. that's it, that's the name, she's straightforward and we respect that π«Ά
π DESCRIPTION π
okay bestie, so the kernel module ipmi_watchdog is the one you want on systems that hand you hardware watchdog functionality through an IPMI board. a real example of such a board: the Lenovo Integrated Management Module. lowkey fancy.
and here's the plot twist that makes her different from all the other watchdog modules out there β ipmi_watchdog needs a running daemon. like, she does not work solo. she needs her emotional support daemon, no cap π
π EXAMPLES π
prepare IPMI watchdog, 1st try
ok so here's attempt number one, the classic route:
# chkconfig ipmi on
# vi /etc/sysconfig/bootloader
INITRD_MODULES="... ipmi_watchdog"
# vi /etc/modprobe.d/ipmi_watchdog
options ipmi_watchdog nowayout=0 timeout=30 action=reset_power
blacklist iTCO_wdt
blacklist iTCO_vendor_support
# shutdown -r now
like, turn the service on, drop ipmi_watchdog into INITRD_MODULES in /etc/sysconfig/bootloader, write those options and blacklist lines into /etc/modprobe.d/ipmi_watchdog, and then reboot. classic. reboot fixes everything, allegedly π
prepare IPMI watchdog, 2nd try
and if that didn't hit, here's the other flavor:
# chkconfig ipmi on
# vi /etc/sysconfig/ipmi
IPMI_WATCHDOG=yes
IPMI_WATCHDOG_OPTIONS="nowayout=0 action=reset_power timeout=30"
same energy, different config file. she's flexible like that π
show
and then you wanna check that it actually worked, right? because vibes are not evidence. so:
# rcipmi status
# ipmitool mc watchdog get
# modinfo ipmi_watchdog
# ls -l /dev/watchdog
look at her go. four commands and you know everything. queen behavior π
π¦ FILES π¦
/dev/watchdogβ the watchdog device node. the main character herself./lib/modules/<kernel-version>/kernel/drivers/char/ipmi/ipmi_watchdog.koβ the IPMI watchdog module. yes,<kernel-version>is a placeholder, swap in your actual kernel version, i'm begging π₯Ί/etc/init.d/ipmiβ the IPMI service start script./etc/sysconfig/ipmiβ the IPMI related configuration./etc/modprobe.d/ipmi_watchdogβ the kernel module configuration./etc/sysconfig/kernelβ the related initrd configuration.
π BUGS π
feedback is welcome! please mail to feedback@suse.com β they genuinely want to hear from you, not me being sarcastic, this is a real invitation π«Ά
π SEE ALSO π
go read these, they're all at least a little relevant:
sbd(8)stonith_sbd(7)lsinitrd(8)ipmitool(1)modinfo(8)/usr/src/linux/Documentation/watchdog/watchdog-api.txthttps://www.suse.com/documentation/sle_ha/book_sleha/data/sec_ha_storage_protect_fencing.htmlhttps://www.suse.com/support/kb/doc.php?id=7016880https://www.suse.com/support/kb/doc.php?id=7008216http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkservers/imm_userguide.pdfftp://ftp.software.ibm.com/systems/support/system_x_pdf/88y7599.pdf
π AUTHORS π
S.Erdenberger, L.Pinne β legends, honestly.
β COPYRIGHT β
(c) 2016-2017 SUSE Linux GmbH, Germany. (c) 2018-2019 SUSE LLC
and the part everyone skips but shouldn't: ipmi_watchdog comes with ABSOLUTELY NO WARRANTY. like, none. zero. don't come for them when it breaks, bestie π for details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html.
ok that's the whole page!! this edition dropped on 01 Nov 2019, courtesy of the ClusterTools2 girlies, and honestly she ate. go forth and watchdog responsibly πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: ClusterTools2 3.1.3-160000.2.2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms