开发者社区> 问答> 正文

redis集群搭建 Waiting for the cluster to join一直在加载

Waiting for the cluster to join一直再加载,是哪里还需要配置?

阿里轻量应用服务器,防火墙 自定义 TCP 6379
iptables 
-A IN_public_allow -p tcp -m tcp --dport 6379 -m conntrack --ctstate NEW -j ACCEPT
防火墙与iptables都加过了,是否还需要把7001到7006都加进去?


执行命令 ./redis-trib.rb create --replicas 1 公网IP:7001  公网IP:7002 公网IP:7003 公网IP:7004 公网IP:7005 公网IP:7006
>>> Performing hash slots allocation on 6 nodes...
Using 3 masters:
IP:7001
IP:7002
IP:7003
Adding replica  IP:7004 to  IP:7001
Adding replica  IP:7005 to  IP:7002
Adding replica  IP:7006 to  IP:7003
M: 42500286651c648a393f719a5ffbce8ebbbe5519  IP:7001
   slots:0-5460 (5461 slots) master
M: e1568af4d3b8c41acc24870e79609ca8d3a836d1  IP:7002
   slots:5461-10922 (5462 slots) master
M: 05479d2f8a42caab43ce8dd8487653bdd1174d36  IP:7003
   slots:10923-16383 (5461 slots) master
S: c264dbfc5b402f4eeea2404ede4214c4713dc488  IP:7004
   replicates 42500286651c648a393f719a5ffbce8ebbbe5519
S: 04398cb18f3a655f7ba98d7bef07024a766f4713  IP:7005
   replicates e1568af4d3b8c41acc24870e79609ca8d3a836d1
S: baa73d0b7fe75a0117a05d856682d2fe6e454ad2  IP:7006
   replicates 05479d2f8a42caab43ce8dd8487653bdd1174d36
Can I set the above configuration? (type 'yes' to accept): yes
>>> Nodes configuration updated
>>> Assign a different config epoch to each node
>>> Sending CLUSTER MEET messages to join the cluster
Waiting for the cluster to join.................................

展开
收起
mryin_sx 2019-01-25 17:13:09 3141 0
1 条回答
写回答
取消 提交回答
  • 建议吧这台重启下
    2019-01-25 17:23:11
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Redis在唯品会的应用实践——架构演进与功能定制 立即下载
微博的Redis定制之路 立即下载
云数据库Redis版的开源之路 立即下载