[Pacemaker] More then one stonith-resource on one node
Florian Haas
florian at hastexo.com
Tue Dec 20 17:05:06 CET 2011
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.
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
More information about the Pacemaker
mailing list