test-man
test-man

Reputation: 55

How to configure master-slave with 2 nodes using redis-cluster

How to configure master-slave with 2 nodes using redis-cluster

I previously used redis-sentinel I created a master-salve with 2 nodes. I am asked to change from redis-sentinel to redis-cluster.

I want to use redis-cluster with the following requirements

I think redis-cluster cannot fail over automatically if there are at least 3 master nodes. Redis cluster failover: slave won't become master

How can I use redis-cluster for automatic failover on two nodes?

Upvotes: 3

Views: 2926

Answers (1)

Elad Tamary
Elad Tamary

Reputation: 576

Redis Cluster minimum specification is 6 instances and sharding is not something you can just turn off. You theoretically run 3 instances on each node but it will not give you highly available cluster.

Upvotes: 4

Related Questions