[Pacemaker] Anybody successful with SBD on Debian?

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Nov 3 05:52:58 EDT 2011


Hi,

On Fri, Oct 21, 2011 at 11:36:06AM -0500, mark - pacemaker list wrote:
> Hello,
> 
> I'm trying to get stonith via SBD working on Debian Squeeze.  All of the
> components seem to be there, and I've very carefully followed the guide at
> http://www.linux-ha.org/wiki/SBD_Fencing . Where things seem to fall down is
> that there's nothing at all in corosync's init script to start SBD, and
> according to the SBD page it should be started by the cluster's init script.
>  What I end up with is Pacemaker showing that my stonith-SBD primitive is
> alive and running, when in reality there is no sbd process on any node at
> all.
> 
> ============
> Last updated: Fri Oct 21 11:17:16 2011
> Stack: openais
> Current DC: xen2 - partition with quorum
> Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b
> 2 Nodes configured, 2 expected votes
> 3 Resources configured.
> ============
> 
> Online: [ xen2 xen1 ]
> 
>  historyslave3 (ocf::heartbeat:Xen): Started xen2
>  historydb (ocf::heartbeat:Xen): Started xen1
>  stonith-SBD (stonith:external/sbd): Started xen2
> 
> 
> Has anybody else encountered this and solved it already?  I like the idea of
> corosync's script handling it so the cluster stack doesn't even start if the
> SBD device is unavailable.  However, since the debian init script doesn't
> know of SBD, is it safe to simply start it manually on boot?  If so, I
> suppose it needs an init script rather than rc.local, so it gets started
> before corosync?

Yes, it should be started before corosync. SLES handles that in
the corosync (openais) init script.

Thanks,

Dejan

> Thanks,
> Mark

> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker





More information about the Pacemaker mailing list