[Pacemaker] Favor one node during stonith?

Andrei Borzenkov arvidjaar at gmail.com
Thu Aug 14 20:02:22 CEST 2014


В Thu, 14 Aug 2014 12:45:27 +1000
Andrew Beekhof <andrew at beekhof.net> пишет:

> > 
> > It statically assigns priorities to cluster nodes. I need to
> > dynamically assign higher priority (lower delay) to a node that is
> > currently running application to ensure that application survives. It
> > was relatively easy in other cluster products I worked with, but I
> > cannot figure out how to do it in pacemaker so far.
> 
> Its not something we have traditionally supported as it only really makes sense in a strict active/passive environment.

Not really - second node may run non-production applications that we do
not really care about in case of split brain.

But thank you for confirming it is not me :)

> As soon as you have more than one node hosting resources, or hosting more than one resource, determining the priority quickly gets complicated.
> 
> Better to avoid split-brain in the first place.
> Add a third node?  (Even if you don't allow it to run services).
> That way when a node disappears, its almost certainly because its dead/failed.
> 

I have to work with what I get ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20140814/f54d14fc/attachment.sig>


More information about the Pacemaker mailing list