messaging - In a Master-Slave cluster, how to make sure the master is really dead for the slave to take over? -


i have in-house messaging system, similar message broker. have 1 master message broker , 1 slave message broker. message broker receives messages , sends them nodes. slave acting node, receiving messages master , building state can take on in case of master failure.

now problem is: how can detect, if possible , without human intervention, master dead!? master may dead, , slave might tempted take over, might end in situation of 2 masters in system.

i'm trying understand how clustering systems implement master-dead detection. until looks human has manually kill master , turn on slave, more preferable process automatic.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -