Cristian Livadaru's blog

... think again ...

Fencing With IPMI on Debian Wheezy

Setting up the first cluster on Debian wheezy (7.0) caused some issues when trying to fence with IPMI. First issue was that the node tried a “clean” shutdown before really powering down. To solve this issue, you need to tell GRUB to disable ACPI. Edit /etc/default/grub and add “acpi=off” to GRUB_CMDLINE_LINUX_DEFAULT


Second issue: I wanted the fencing to just power off the node, not reboot it. Turns out, Pacemaker prior to version 1.1.10, ignores the ‘action=”…”’ and debian wheezy installs Pacemaker 1.1.7-1. To solve this, you need to set the pcmk_reboot_action instead. Thanks to for this hint. The CRM configuration would look something like this:

primitive impi-fencing-store2 stonith:fence_ipmilan \
        params pcmk_host_list="store2" ipaddr="" login="foo" passwd="bar" lanplus="true" pcmk_reboot_action="off" \
        op monitor interval="60s"