ERROR: Invalid configuration for cluster creation.报错


报错 *** This is not possible with 2 nodes and 192 replicas per node. 出现192说明是格式写错

[root@localhost src]# ./redis-trib.rb create --replicas  192.168.100.130:7000 192.168.100.130:7001 192.168.100.130:7002
>>> Creating cluster
*** ERROR: Invalid configuration for cluster creation.
*** Redis Cluster requires at least 3 master nodes.
*** This is not possible with 2 nodes and 192 replicas per node.
*** At least 579 nodes are required.

正确写法

./redis-trib.rb create --replicas 1 192.168.100.130:7000 192.168.100.130:7001 192.168.100.130:7002

报错 *** This is not possible with 3 nodes and 1 replicas per node. 出现1说明是搭建集群至少需要3主3从6台服务器或进程,否则你会遇到这错误

[root@localhost src]# ./redis-trib.rb create --replicas 1 192.168.100.130:7000 192.168.100.130:7001 192.168.100.130:7002
>>> Creating cluster
*** ERROR: Invalid configuration for cluster creation.
*** Redis Cluster requires at least 3 master nodes.
*** This is not possible with 3 nodes and 1 replicas per node.
*** At least 6 nodes are required.

 

参考 https://blog.csdn.net/h363659487/article/details/78793284


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM