[Pacemaker] Two stonith devices

Vladislav Bogdanov bubble at hoster-ok.com
Sat Jun 4 09:08:30 UTC 2011


Hi all,

silly question:

does anybody have working configuration with two stonith paths to
cluster node?

Background is:
I have two stonith resources configured for each node in two-node cluster:
primitive stonith-s01-0 stonith:external/ipmi \
        params hostname="s01-0" ipaddr="10.5.4.250" userid="xxx"
passwd="xxx" interface="lanplus" pcmk_host_check="static-list"
pcmk_host_list="s01-0" priority="1" \
        meta priority="2" \
        op monitor interval="60"
primitive stonith-s01-0-s stonith:rcd_serial \
        params hostlist="s01-0" ttydev="/dev/ttyS0" msduration="320"
dtr_rts="rts" \
        meta priority="5"
primitive stonith-s01-1 stonith:external/ipmi \
        params hostname="s01-1" ipaddr="10.5.4.252" userid="xxx"
passwd="xxx" interface="lanplus" pcmk_host_check="static-list"
pcmk_host_list="s01-1" priority="1" \
        meta priority="2" \
        op monitor interval="60"
primitive stonith-s01-1-s stonith:rcd_serial \
        params hostlist="s01-1" ttydev="/dev/ttyS0" msduration="320"
dtr_rts="rts" \
        meta priority="5"

I tried to simulate node failure (killall -9 corosync) when ipmi devices
are inaccessible. First try was successful, s01-0 was fenced by
rcd_serial. s01-1 was not fenced when I killed corosync there. Logs do
not show any attempt to use stonith-s01-1-s.

Am I missing something? (Yes, I verified that rcd_serial works, I fenced
s01-1 with it manually.)

pacemaker-1.1.5 with several patches cherry-picked from 1.1 and devel
branches.
corosync-1.3.1

Best,
Vladislav




More information about the Pacemaker mailing list