redis 5.0 CLUSTERDOWN The cluster is down

安装 redis 集群,设置值报错,错误信息:redis 5.0  CLUSTERDOWN The cluster is down。

这个是由于安装错误导致的,需要重新进行 修复一下。

命令如下:

[root@localhost src]# ./redis-cli --cluster fix 127.0.0.1:7000  

该命令是修复宕机的服务,如果时多个服务宕机 就多个服务需要重新 fix 一下,修复之后如下。

 接着就可以正常使用了,

原文地址:https://www.cnblogs.com/ming-blogs/p/11959674.html