Posted over 3 years ago. Visible to the public. Repeats. Linked content.
Redis Sentinel manual failover
Connect to your sentinel instance:Copy
redis-cli -p <SENTINEL-PORT>
Have a look at the current master and the available slavesCopy
SENTINEL slaves <master name>
Force a failoverCopy
SENTINEL failover <master name>
After some seconds you can have a second look at the current master:Copy
The IP should have changed.