Redis Master/Slave mode

  1. Each slave belongs to a Master
  2. Each master is writable for it’s slot’s key/value

Checking Cluster State

redis-cli --cluster check 172.22.0.3:6379 -a redisCluster

Adding Node

redis-cli --cluster add-node

You have to assign

  1. slot count.
  2. Receive node id (master)

Then add slave to master

The slot/key/value reassign is automatic