[Pacemaker] need cluster-wide variables
Andrew Beekhof
andrew at beekhof.net
Mon Jan 16 05:50:41 UTC 2012
On Wed, Jan 11, 2012 at 8:24 AM, Arnold Krille <arnold at arnoldarts.de> wrote:
> On Tuesday 10 January 2012 20:08:50 Dejan Muhamedagic wrote:
>> On Thu, Jan 05, 2012 at 04:59:13AM +0000, shashi wrote:
>> > So we have two probable options:
>> > 1. An work around to achieve this tri-state efficiently without changing
>> > pacemaker internals.
>> > 2. Modify pacemaker to add this tri-state feature.
>> This sounds too complex to me. And it won't scale (if there are
>> too many Pre-Masters you may want to introduce Pre-Pre-Masters).
>> How about moving the logic to slaves, i.e. that they figure out
>> themselves which master to connect to? This is of course
>> oversimplification, but I'd rather try that way.
>
> Is it possible for slaves to modify their score for promotion? I think that
> would be an interesting feature.
>
> Probably something like that could already be achieved with dependency-rules
> and variables. But I think a function for resource agents to increase or
> decrease the score would be more clean.
This is what crm_master is designed for.
More information about the Pacemaker
mailing list