[Pacemaker] More then one stonith-resource on one node

Andrew Beekhof andrew at beekhof.net
Wed Dec 21 04:11:35 CET 2011


On Wed, Dec 21, 2011 at 3:05 AM, Florian Haas <florian at hastexo.com> wrote:
> On Tue, Dec 20, 2011 at 3:42 PM, Marc K. <marcus.kuhn at stuttgart.de> wrote:
>> Hello together,
>>
>> I found an older Posting from September this year, with the same problem:
>> - a two node cluster
>> - every node has two power supplies
>> - power supply one is connected to wti-powerswitch 1
>> - power supply two is connected to wti-powerswitch 2
>> - wit-powerswitch 1 is connected to datacenter-ups 1
>> - wit-powerswitch 2 is connected to datacenter-ups 2
>>
>> Problem:
>> I need two stonith-resources for each node. Working is only one. The second will
>> ingnored. (On commandline both working fine.)
>>
>> Google found an older post from September this year with the same problem. There
>> are new solutions in meantime? (In this post was no really solutions:-( )
>
> Two STONITH devices for one host, _both_ of which you expect to
> trigger, is nothing I remember as ever having been supported, up to
> this point. What you can do is to run staggered fencing, that is, a
> higher-priority fencing device fires first, and then _if that fails_,
> another lower-priority one does.
>
> However, in Pacemaker 1.1 this fallback to secondary STONITH devices
> (with staggered priorities) simply hasn't yet been implemented in
> stonith-ng. It's currently on the list for Fedora 17, and if I
> understood Andrew correctly that release should also cover your "both
> A and B must succeed for fencing to be considered successful"
> scenario.

In fact you'll be able to do:

   ( A && B ) || C

And yes, I need to implement that pretty soon.

>
> So perhaps you can be patient until then and settle for IPMI in the meantime?
>
> Cheers,
> Florian
>
> --
> Need help with Pacemaker?
> http://www.hastexo.com/knowledge/pacemaker
>
> _______________________________________________
> 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://bugs.clusterlabs.org



More information about the Pacemaker mailing list