Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Cluster Configuration using the Ruby script

Enrico Giordani edited this page Jul 22, 2015 · 7 revisions

Redis Cluster can be configured manually or through a Redis Cluster command line utility called redis-trib.

In order to run redis-trib you need to install Ruby and the Ruby Redis gem first.

Download the Ruby installer from here. During the installation select the following checkboxes:

  • Add Ruby executables to your PATH
  • Associate .rb and .rbw files with this Ruby installation

After Ruby has been installed, you need to install the Redis client package for Ruby:

  • open a Command Prompt window and type gem installa Redis

The gem package manager will add the redis-3.2.1.gem to your Ruby installation.

Follow the official Redis Cluster Tutorial to learn how to use the redis-trib utility.