Search code examples
rediscluster-computingredis-cliredis-server

Configure Redis Cluster in Ubuntu Server 14.04


I've installed redis-server using apt-get install redis-server and everything went fine.

Right now I'm trying to configure it in a Cluster mode. The problem is that in the tutorial supplied here http://redis.io/topics/cluster-tutorial they use a script called redis-trib.rb which I can't find it in my system.

Can you please tell me how can I configure my Redis to run in Cluster mode without that script ?

I would like to have a setup with two masters, each on a different machine.

Thank you very much.


Solution

  • You need Redis 3.0.0 beta to run Cluster. You'll not find it in a Linux distribution, since they all have copy of the stable server (fortunately!). Redis 3.0.0 will go out as a stable release the next week. You can find the source code of the stable release here: http://redis.io/download.