[Pacemaker] Question about master/slave resource promotion

Florian Haas florian at hastexo.com
Sat Feb 25 08:52:54 UTC 2012


On Sat, Feb 25, 2012 at 12:31 AM, David Vossel <dvossel at redhat.com> wrote:
> Hey,
>
> I have a 2 node cluster with a multi-state master/slave resource. When the multi-state resources start up on each node they enter the Slave role.  At that point I can't figure out how to promote the resource to activate the Master role on one of the nodes. Is there anything special I need to do to get an instance of my multi-state resource to promote to the Master role?

Yeah, actually using a resource type that is capable of running in
master/slave mode would be a good start. :) Use ocf:pacemaker:Stateful
instead of ocf:pacemaker:Dummy in your test setup.

Hope this helps.

Cheers,
Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now




More information about the Pacemaker mailing list