On Tue, Jan 3, 2012 at 9:26 PM, shashi <shashidhara...@huawei.com> wrote: > Andrew Beekhof <andrew@...> writes: > >> >> On Wed, Dec 21, 2011 at 6:01 PM, Nirmala S <nirmalas@...> 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. _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org