Hi everyone,<br><br>I'm playing around with the possibility of using Pacemaker in a Redis master/slave cluster. The difficult part of this, is that Redis will not automatically flip itself from read-only slave mode into master mode. A client needs to connect to the slave server and run this<a href="http://redis.io/commands/slaveof"> SLAVEOF NO ONE</a> command to turn it into a master.<br>
<br>If I set up a master/slave primitive, is it possible to fire an event script during a failover event that would allow me to do this? <br><br>After the stonith event fires and the broken master reboots, I would write in something special in the Redis init.d script to detect if my peer is already a master, and start up in slave mode. <br>
<br>Has anyone else worked up a cluster config with Redis?<br><br>Thank you,<br><br>--Cal<br>