Redis-Sentinel主从自动切换

entinel哨兵: 在其中一台redis上或者随便找一台服务器安装,若是只安装一个sentinel并要安装在redis服务器上,建议在从上搭建sentinel,这样保证了主宕机以后不会影响主从切换,从宕机不会影响主的运行html # vim /etc/redis/sentinel.conf port 26379 daemonize yes sentinel monitor mymast
相关文章
相关标签/搜索