摘要: Redis高可用三(Redis Cluster集群) 参考博文1:https://blog.csdn.net/qq_40298351/article/details/102669146 参考博文2:https://www.cnblogs.com/renpingsheng/p/9813959.html 阅读全文
posted @ 2021-07-03 15:49 TY520 阅读(26283) 评论(0) 推荐(0) 编辑
摘要: Redis高可用二( 哨兵sentinel) 1、主从配置 2、配置哨兵 sentinel.conf # Example sentinel.conf bind 0.0.0.0 protected-mode no # 关闭安全模式 port 26380 # 哨兵端口 sentinel monitor 阅读全文
posted @ 2021-07-03 15:48 TY520 阅读(25214) 评论(0) 推荐(0) 编辑
摘要: Redis高可用一(主从) 1、首先要有2或以上的Redis数据库,我这里三个redis(一主两从) 2、进入到主Redis 配置 redis.conf文件 # 主redis bind 0.0.0.0 # 将bind 127.0.0.1 改成 bind 0.0.0.0 requirepass 123 阅读全文
posted @ 2021-07-03 15:47 TY520 阅读(24924) 评论(0) 推荐(0) 编辑