[Pacemaker] Prioritized failover

Nirmala S nirmalas at huawei.com
Thu Nov 17 02:03:57 EST 2011


Hi,

 

I am in the process of modeling high availability for DB using Pacemaker. DB
is an in-memory one with optional storage on disk. Replication is used as
main form of data communication between nodes. The cluster needs to have a
master-preferred slave-other slaves. Master and preferred slave replicate
synchronously. Preferred slave acts as replication master for other slaves.
In case of failure of master, the preferred slave should become master and
pick one of the other slaves to handle the preferred slave role.

 

Topology is 

 

Master

   |

Slave/Master

     /  |  \

Slave Slave Slave

 

It needs to be achieved by one resource agent. Should the prioritized
failover be based on ordering or location preference ? In either case based
on the replication lag, can it be set dynamically ?

 

Thanks in advance.

 

Regards

Nirmala

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111117/d8138d40/attachment-0002.html>


More information about the Pacemaker mailing list