返回到文章

采纳

编辑于 1年前

Redis Sentinel热迁移在线生成步骤

redis
redis
运维

迁移步骤:

运维与应用测注意点:

1、网络:保证网络互通
2、运维:在新机房加入新Redis节点,一切就绪
3、应用:将新的redis节点加入到程序中,重启
4、运维:故障转移,切换redis主备
5、应用:将旧节点从配置中踢出,重启
6、运维:下架旧redis

注意:第3步一定要做,有些应用程序默认配置是开启验证集群节点成员资格开关,防止应用程序认为新节点不是有效成员而拒绝,例如错误

Connection to X not allowed. This connection point is not known in the cluster view

参考:springboot连接redis集群报:Connection to 172.23.7.168:6379 not allowed. This connection point is not known in the cluster view

动态生成你的操作步骤

在线运行