Facing issues while trying to setup redis sentinel

20 views
Skip to first unread message

sruthi kypa

unread,
Jul 12, 2017, 10:53:40 PM7/12/17
to Redis DB
Hi everyone,

I am new to redis and exploting it to see if it meets our requirement. We are looking for a highly available distributed cache for our application.
While redis have master-slave replication, from my understanding sentinel provides automatic failover. 
1) Are there any other better alternatives to Sentinel?
2) Also is sentinel considered to be production ready?

I havent seen much resources on internet to debug issues while installing sentinel. Can someone please provide any resources?

My Setup (very Simple):
Redis: 1 Master 2 slaves
Sentinel: 3 on the same vms as redis nodes.

I have a very basic configuration on sentinel.conf.
I see only one of my sentinels are able to find the slaves and none of the sentinels discovered each other. Not sure whats wrong. I have used the same config before and it worked. Is there any way to debug this?

Also my failover scenario are not working as expected. I see no way to understand whats going wrong?


Can someone please help me here? Any kind of info would be appreciated!

Thanks,
Sruthi

Tuco

unread,
Jul 17, 2017, 7:10:53 AM7/17/17
to Redis DB
Redis backed by sentinel is highly available but not distributed.
I think you should try to use Redis cluster instead of Redis Sentinel.
Reply all
Reply to author
Forward
0 new messages