Skip to content

Instantly share code, notes, and snippets.

@samof76
Last active October 5, 2016 05:36
Show Gist options
  • Save samof76/bc42304d258395b8f95e8c67c2d0bdcf to your computer and use it in GitHub Desktop.
Save samof76/bc42304d258395b8f95e8c67c2d0bdcf to your computer and use it in GitHub Desktop.
Redis sentinel configuration
port 26379
sentinel monitor mymaster 172.31.20.201 6379 1
sentinel down-after-milliseconds mymaster 10000
sentinel failover-timeout mymaster 20000
sentinel parallel-syncs mymaster 1
bind 0.0.0.0
dir "/tmp"
loglevel notice
logfile "/var/log/redis-sentinel.log"
daemonize yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment