一台轻量服务器 6个节点7001-7006
Redis server v=3.0.4
ruby 2.4.1p111
目的,创建redis集群
主从,公网可连接
目前redis集群创建报错 ERR Slot 0 is already busy (Redis::CommandError)
ps -ef | grep redis
root 5888 1 0 15:39 ? 00:00:03 redis-server 127.0.0.1:7001 [cluster]
root 5892 1 0 15:39 ? 00:00:03 redis-server 127.0.0.1:7002 [cluster]
root 5896 1 0 15:39 ? 00:00:03 redis-server 127.0.0.1:7003 [cluster]
root 5900 1 0 15:39 ? 00:00:03 redis-server 127.0.0.1:7004 [cluster]
root 5904 1 0 15:39 ? 00:00:03 redis-server 127.0.0.1:7005 [cluster]
root 5908 1 0 15:39 ? 00:00:03 redis-server 127.0.0.1:7006 [cluster]
root 6113 2338 0 16:23 pts/0 00:00:00 grep --color=auto redis
执行创建集群语句
./redis-trib.rb create --replicas 1 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 127.0.0.1:7006
后,Can I set the above configuration? (type 'yes' to accept): yes
报错,/usr/local/rvm/gems/ruby-2.4.1/gems/redis-4.0.1/lib/redis/client.rb:119:in `call': ERR Slot 0 is already busy (Redis::CommandError)
./redis-trib.rb check 127.0.0.1:7001 ........执行过后,再次重新执行创建集群语句,还报相同错误,
求解
问:
--如何修改
redis端口到系统和安全组
--如果在iptables中添加 是需要把7001-7006都添加吗?
--还有在度娘上看的要加10000, 17001?有集群总线这种说法?