HA possibility with Redis Replication Master-Slave

61 views
Skip to first unread message

Anil Kumar Goud

unread,
Apr 12, 2017, 6:25:09 PM4/12/17
to Redis DB
Hi,

Is it possible to get Redis High availability with Master-Slave replication? Like if Master goes down, slave1 should act as master automatically.
Or is it only possible with Redis cluster setup?

Thanks,
Anil

Itamar Haber

unread,
Apr 12, 2017, 7:03:12 PM4/12/17
to Redis DB
Hello Anil,

The cluster isn't a mandatory requirement for high availability. Redis, in single instance mode, can be made highly available via the use of Sentinel - for more details refer to: https://redis.io/topics/sentinel

Itamar


--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+unsubscribe@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Anil Kumar Goud

unread,
Apr 12, 2017, 7:26:06 PM4/12/17
to Redis DB
Thank you Itamar.


On Wednesday, April 12, 2017 at 4:03:12 PM UTC-7, Itamar Haber wrote:
Hello Anil,

The cluster isn't a mandatory requirement for high availability. Redis, in single instance mode, can be made highly available via the use of Sentinel - for more details refer to: https://redis.io/topics/sentinel

Itamar


On Apr 13, 2017 1:25 AM, "Anil Kumar Goud" <anil...@gmail.com> wrote:
Hi,

Is it possible to get Redis High availability with Master-Slave replication? Like if Master goes down, slave1 should act as master automatically.
Or is it only possible with Redis cluster setup?

Thanks,
Anil

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.

Matt Palmer

unread,
Apr 12, 2017, 8:34:50 PM4/12/17
to redi...@googlegroups.com
On Wed, Apr 12, 2017 at 03:17:13PM -0700, Anil Kumar Goud wrote:
> Is it possible to get Redis High availability with Master-Slave
> replication? Like if Master goes down, slave1 should act as master
> automatically.

Sure, that's entirely possible. Just use a cluster manager like pacemaker,
and have it run the appropriate commands to promote/demote masters and
slaves as necessary.

- Matt

--
"People can be divided into three classes: The few who make things happen,
the many who watch things happen, and the overwhelming majority who have no
idea what has happened." (Author unknown)

aja...@casepoint.in

unread,
Dec 15, 2017, 5:12:32 AM12/15/17
to Redis DB
Yes .... With HA Proxy Server you can do it.....
Reply all
Reply to author
Forward
0 new messages