sentinel

sentinel monitor test1 192.168.7.40 6379 1 #修改IP地址,IP可以是集群中的任意一个IP地址。
sentinel down-after-milliseconds test1 5000 #默认1s检测一次,这里配置超时5000毫秒为宕机。
sentinel failover-timeout test1 900000
sentinel can-failover test1 yes
sentinel parallel-syncs test1 2 

posted on 2015-04-17 10:30  weiguoyuan  阅读(117)  评论(0编辑  收藏  举报

导航