[Pacemaker] Favor one node during stonith?
Andrew Beekhof
andrew at beekhof.net
Fri Aug 15 00:53:25 UTC 2014
On 15 Aug 2014, at 4:02 am, Andrei Borzenkov <arvidjaar at gmail.com> wrote:
> В 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 ...
qdisk? a VM on some other server?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140815/ee3f62dc/attachment-0004.sig>
More information about the Pacemaker
mailing list