Skip to content

Instantly share code, notes, and snippets.

@imcitius
Created September 24, 2021 18:51
Show Gist options
  • Save imcitius/f738396c68673680f0226ecf05ca7022 to your computer and use it in GitHub Desktop.
Save imcitius/f738396c68673680f0226ecf05ca7022 to your computer and use it in GitHub Desktop.
redis-sentinel-slave.conf
port 26379
logfile "/var/log/redis/sentinel.log"
dir "/tmp"
sentinel myid f654d695c7b47d2fe1a8d273937b9039fd15148f
sentinel deny-scripts-reconfig yes
sentinel monitor redis 192.168.127.132 6379 2
sentinel down-after-milliseconds redis 3000
bind 192.168.127.131 127.0.0.1
# Generated by CONFIG REWRITE
protected-mode no
user default on nopass ~* +@all
sentinel failover-timeout redis 30000
sentinel parallel-syncs redis 2
sentinel config-epoch redis 1
sentinel leader-epoch redis 9
sentinel known-replica redis 192.168.127.125 6379
sentinel known-replica redis 192.168.127.131 6379
sentinel known-sentinel redis 192.168.127.132 26379 7de6d6260f98eb7c045845cda4e981a2ca4b5d74
sentinel known-sentinel redis 192.168.127.125 26379 fc893145077757481bbf80cc07760811cbc9bb41
sentinel current-epoch 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment