[Pacemaker] need cluster-wide variables

Andrew Beekhof andrew at beekhof.net
Wed Jan 4 00:55:49 CET 2012


On Tue, Jan 3, 2012 at 9:26 PM, shashi <shashidhara.td at huawei.com> wrote:
> Andrew Beekhof <andrew at ...> writes:
>
>>
>> On Wed, Dec 21, 2011 at 6:01 PM, Nirmala S <nirmalas at ...> wrote:
>> > Hi,
>> >
>> > My situation is somewhat similar. I need to a cluster which contains 3 kinds
>> > of nodes – master, preferred slave, slave. Preferred slave is an entity that
>> > becomes the master in case of switchover/failover.  Master is the master for
>> > pref_slave and pref_slave is master for other slaves. The master election is
>> > easy – it is done by crm, all I need to do is use crm_master.
>>
>> What is the difference between a preferred slave and a normal one?
>> Sounds like what you really want is tri-state resources (instead of
>> the existing bi-state)
>>
>
> Yes, we need a tristate resource. Is it supported in pacemaker, if not is there
> any plan in future to support this feature?

Its not something we had planned, this is the first time anyone has asked.
I'd be happy to help point someone on your side in the right
direction, but if I have to do all of it, you might be waiting a
while.

Can you explain the use case further?  Maybe there is another option.



More information about the Pacemaker mailing list