4 ms·
I've written a script to handle Redis failover and "promotion" from Master to Slave using Keepalived, but I haven't published it since it was never used in a pr
by scalingexperts 15y ago
I've written a script to handle Redis failover and "promotion" from Master to Slave using Keepalived, but I haven't published it since it was never used in a production environment. It was actually written for Redis 1.02 (wrote it back in 2009).
I'll create a repository on GitHub for you to check out and let me know if it solves your problem. Please give me a couple hours because I need to eat some food like ASAP lol.
- scalingexperts 15y agoHere's something, as I mentioned previously, it was written in 2009 for Redis 1.02 so it might not work as expected. Please feel free to fork, modify and improve. https://github.com/alexwilliamsca/redis-failover https://github.com/alexwilliamsca/redis-failover
- modoc 15y agoThank you very very much!!
- scalingexperts 15y agoYou're welcome! I've updated it slightly to support the latest stable version of Redis. I hope it's helpful for you. Cheers!