[Pacemaker] Problems with SBD fencing

Angel L. Mateo amateo at um.es
Tue Aug 20 02:52:00 EDT 2013


El 06/08/13 13:49, Jan Christian Kaldestad escribió:
> In my case this does not work - read my original post. So I wonder if
> there is a pacemaker bug (version 1.1.9-2db99f1). Killing pengine and
> stonithd on the node which is supposed to "shoot" seems to resolve the
> problem, though this is not a solution of course.
>
> I also tested two separate stonith resources, one on each node. This
> stonith'ing works fine with this configuration. Is there somehing
> "wrong" about doing it this way?
>
	For me to work (ubuntu 12.04) I had to create /etc/sysconfig/sbd file with:

SBD_DEVICE="/dev/disk/by-id/wwn-0x6006016009702500a4227a04c6b0e211-part1"
SBD_OPTS="-W"

	and the resource configuration is

primitive stonith_sbd stonith:external/sbd \
         params 
sbd_device="/dev/disk/by-id/wwn-0x6006016009702500a4227a04c6b0e211-part1" \
         meta target-role="Started"

	Where /dev/disk/by-id/wwn-0x6006016009702500a4227a04c6b0e211-part1 is 
my disk device.

-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337




More information about the Pacemaker mailing list