sentinel.conf構成
864 ワード
bind 0.0.0.0
#
daemonize yes
# yes
protected-mode no
# , redis
port 26379
# IP, ,
# sentinel announce-ip
#
dir /tmp
#
logfile "/usr/local/redis/logs/sentinel-26379.log"
# sentinel master mymaster, 172.16.5.1 6379,2 ,
sentinel monitor mymaster 172.16.5.1 6379 2
# PING master 30s
# master “ ” PONG , sentinel
( ) master
sentinel down-after-milliseconds mymaster 1000
# (ms) failover , failover
sentinel failover-timeout mymaster 3000
# , Redis , Redis
, ,
sentinel parallel-syncs mymaster 1