Redis Cluster Environment: och163/och164/och165
An error is reported when the following script is executed:
./src/redis-trib.rb create 10.1.253.163:6379 10.1.253.164:6379 10.1.253.165:6379
/usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis/client.rb:97:in `call‘: ERR Slot 16011 is already busy (Redis::CommandError)from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:2432:in `method_missing‘from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:37:in `synchronize‘from /usr/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize‘from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:37:in `synchronize‘from /usr/lib/ruby/gems/1.8/gems/redis-3.0.7/lib/redis.rb:2431:in `method_missing‘.....
Solution:
Delete the file in the cluster-config-file defined in redis. conf, restart redis-server, and run redis-Trib.
Note: When you execute the redis-trib.rb create, hostname cannot be used, only IP addresses can be used.
Redis cluster creation error