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