My Redis Sentinel failover is not working, when the master is done, no handshaking is done, and failover does not happen; however sentinel shows when the master is back to normal state or when it is down. My sentinel.conf file contents are below:
# Process Info
port 26379
daemonize yes
pidfile "/var/run/redis/sentinel.pid"
# Log files
loglevel notice
logfile "/var/log/redis/sentinel.log"
# Master setup
sentinel monitor mymaster 10.0.2.94 6379 2
sentinel auth-pass mymaster 118
sentinel down-after-milliseconds mymaster 10000
sentinel failover-timeout mymaster 60000
sentinel parallel-syncs mymaster 1
# Slave setup
sentinel monitor redis2 10.0.3.56 6379 2
sentinel auth-pass redis2 118
sentinel down-after-milliseconds redis2 15000
sentinel failover-timeout redis2 65000
sentinel parallel-syncs redis2 1
Redis.conf file is pretty much standard and redis is working without any issue.
I would really appreciate any help with this.