Redis Sentinel 哨兵模式 故障转移失败 -failover-abort-no-good-slave master mymaster

根据网上的解决方案:

1.我核对了sentinel.config和redis.config bind 绑定的端口。

2.三台redis masterauth都设置了密码

3.sentinel.config 的sentinel monitor mymaster 和sentinel auth-pass mymaster 也没有错。

但在我测试主从复制的时候,发现主从主机无法相连,我在网上找的解决方案的关闭了master主机所在的防火墙。

现在master下线了,需要选举新的master,需要关闭新master所在主机的防火墙。

systemctl stop firewalld
————————————————

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

原文链接:https://blog.csdn.net/aflyingpig11/article/details/133342507

posted @ 2024-04-09 22:17  老白_White  阅读(399)  评论(0)    收藏  举报