Howto simulate redis failover

Posted on

ENVIRONMENT
OS = RHEL 7.4
HA NODES = 2 virtual machines
PRODUCT = CoroSync/Pacemaker
RING CONFIGURED = 2
redis version = redis-4.0.2-3.el7.remi.x86_64

QUERY
I want to simulate a failover of redis. When I kill redis process, it restarted itself on same HA node. I tried to kill redis process 3 to 4 times. Is there any way to mention REDIS restart attempts in agent configuration OR how can we simulate a failover of redis.

Responses