解决办法:见红色字体
>>> Creating cluster [ERR] Node 192.168.108.128:6391 is not empty. Either the node already knows other nodes (check with CLUSTER NODES) or contains some key in database 0. [root@localhost src]# redis-cli -h 192.168.108.128 -p 6391 192.168.108.128:6391> flushdb OK 192.168.108.128:6391> [root@localhost src]# ./redis-trib.rb create --replicas 1 192.168.108.128:6379 192.168.108.128:6380 192.168.108.128:6381 192.168.108.128:6389 192.168.108.128:6390 192.168.108.128:6391 >>> Creating cluster >>> Performing hash slots allocation on 6 nodes... Using 3 masters: 192.168.108.128:6379 192.168.108.128:6380 192.168.108.128:6381 |