I am using spring redisTemplate(jedis, 2.0.0)
with redis-server(2.9.50)
. It's working perfectly for the single instance but I want to create a cluster master-slave environment with two different instances in which replication and failover happen automatically (over configuration).
Please answer the following queries
what's the proper way to create master/slave Redis cluster(right now I've only redis-server
installed with no config change)?
how to connect jedis
with redis
cluster ?
what should I use to replicate data between redis clusters nodes ?