Redis重新配置集群

如果要重新配置集群,先停止集群,然后将cluster-config-file配置的所有文件删除,再重新启动集群,就可以重新配置集群

如果提示[ERR] Node 192.168.2.17:7000 is not empty. Either the node already knows other nodes (check with CLUSTER NODES) or contains some key in database 0. 就在将dir配置的数据库目录下,各个端口子目录清空,注意,端口子目录不能删除,否则无法启动

原文:https://blog.csdn.net/gw85047034/article/details/83377459  (这个为参考)

https://blog.51cto.com/8370646/2309693

https://www.jianshu.com/p/f8b1f29f7e1d

https://blog.csdn.net/weixin_38340874/article/details/85274237

https://blog.csdn.net/yaomingyang/article/details/79057973

这个总结比较好:

https://www.cnblogs.com/aquester/p/9891465.html

猜你喜欢

转载自www.cnblogs.com/116970u/p/11125837.html