Created
December 28, 2012 04:00
-
-
Save matetsu/4394319 to your computer and use it in GitHub Desktop.
監視設定などを埋め込むためのsentinel設定ファイルテンプレート。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daemonize yes | |
pidfile /var/run/redis-sentinel.pid | |
loglevel notice | |
logfile /var/log/redis-sentinel.log | |
port 26379 | |
sentinel monitor __MASTER_HOST__-cluster __MASTER_HOST__ 6379 1 | |
sentinel auth-pass __MASTER_HOST__-cluster [masterauth] | |
sentinel down-after-milliseconds __MASTER_HOST__-cluster 30000 | |
sentinel can-failover __MASTER_HOST__-cluster yes | |
sentinel parallel-syncs __MASTER_HOST__-cluster yes | |
sentinel failover-timeout __MASTER_HOST__-cluster 900000 | |
#sentinel notification-script __MASTER_HOST__-cluster /usr/local/sbin/redis-notification.py | |
sentinel client-reconfig-script __MASTER_HOST__-cluster /usr/local/sbin/redis-failover.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment