[Pacemaker] Prioritized failover
Florian Haas
florian at hastexo.com
Thu Nov 17 11:44:24 UTC 2011
On 11/17/11 11:39, Nirmala wrote:
> Florian Haas <florian at ...> writes:
>
>>
>> You can easily test this with the "Stateful" resource agent. Say you've
>> got 5 nodes, alice, bob, charlie, daisy and eric. alice is meant to be
>> your central master, bob is a slave to alice and a master to the three
>> others. alice and bob should be able to switch roles.
>>
>> The following example configuration is untested, but it should suffice
>> to illustrate the idea.
>>
>> node alice attributes class="central"
>> node bob attributes class=central"
>> node charlie attributes class="satellite"
>> node daisy attributes class="satellite"
>> node eric attributes class="satellite"
>
> Is it possible for the nodes in "satellite" class to become "central" at any
> point of time ?
What I outlined was merely _one way_ of doing this, for you to easily
test with an existing resource agent. Of course, if you roll your own
RA, there may be a myriad other ways of doing it.
Cheers,
Florian
--
Need help with High Availability?
http://www.hastexo.com/now
More information about the Pacemaker
mailing list