Questions tagged [redis-sentinel]

System for managing redis instances.

Redis sentinel is a system designed to help managing Redis instances. It performs the following three tasks:

  • Monitoring - constantly check if your master and slave instances are working as expected.
  • Notification - can notify the system administrator, or another computer program, via an API, that something is wrong with one of the monitored Redis instances.
  • Automatic failover - If a master is not working as expected, Sentinel can start a failover process where a slave is promoted to master, the other additional slaves are reconfigured to use the new master, and the applications using the Redis server informed about the new address to use when connecting.
327 questions
0
votes
0 answers

Redis+Sentinel cannot execute client-reconfig-script (VIP drift) when failover happens

I have setup a redis master-slave(s) cluster with sentinel monitoring for HA on linux CentOS7.0 (redis v4.0.2). Sentinel is working well as, when I shutdown one of the three nodes, another node is elected as the new master. Now I try to setup a…
dzhou
  • 61
  • 3
0
votes
0 answers

Redis-nodes went out of cluster

I have a setup with 3 redis servers and 3 redis sentinels on each node.In the beginning we have one master node and two slave nodes, but after some time all the redis nodes went out of cluster and goes into slave mode. I don't know why this is…
0
votes
1 answer

Stunnel with Redis Sentinel

Ok so allegedly Redis Setninels now work with TLS. I have the Master and Slaves replicating fine with stunnel. However, I'm unable to get the Sentinels to communicate with eachother as well as the Master. I have 1 Master, 2 Slaves and 3…
Mangaku
  • 9
  • 1
0
votes
1 answer

Redis Sentinel -- Remote Monitoring

I am trying to setup a Redis clustered environment. The setup is as follows (see pic via link): Replication: 1 Master, 1 Slave Failover: 3 Sentinels Deployment Setup The issue that I am having is getting S3 to make the remote connection. In fact,…
John
  • 1
0
votes
0 answers

How to make Spring boot with Redis Sentinel work with Docker

I am trying to set up a Spring boot application with Redis Sentinel 3.2.11 using docker. However I am getting Caused by: io.netty.channel.ConnectTimeoutException: connection timed out: /172.27.0.2:6379 My docker compose configuration version:…
JDev
  • 1,662
  • 4
  • 25
  • 55
0
votes
1 answer

redis master does not see slave

I have an issue with my redis sentinel setup, which has 4 nodes (1 master, 3 slaves). I've patched first slave node (docker version changed from 17.03.1-ce to 17.12.0-ce). My problem is that master does not anymore take slave node1 to the members…
sergei
  • 402
  • 1
  • 5
  • 14
0
votes
1 answer

2/3 sentinel instances in same data center

Imagine I have two data centers with one redis instance running in each of them. In addition, I have three sentinel instances running in these both data centers, each on a seperate machine, but two of them in the same data center. Is this a…
Toni
  • 1,593
  • 1
  • 11
  • 21
0
votes
1 answer

Vertex JS and Redis Sentinel Support

Does Vertx 3.5.0 supports Redis Sentinel or not? Any other ways to achieve it? I have a Master and Slave Architecture in Redis, where I have failover implementation concepts. I can achieve this using NodeJS and Java, but while switching on to…
Manu C Rajan
  • 153
  • 1
  • 2
  • 13
0
votes
1 answer

Vertx js and Redis Sentinel Connectivity

Am Working on the versions of Vertx 3.5.0 Version and Redis with master and Slave Architecture .In their Official Site they have didn't mention of their redis sentinel Support. So can i create a jar file which gets the Master Details of Redis and…
Manu C Rajan
  • 153
  • 1
  • 2
  • 13
0
votes
3 answers

redis sentinel client-reconfig-script not triggered

I have setup a redis master-slave(s) cluster with sentinel monitoring for HA on linux debian (using stretch backports: redis v4.0.2). Sentinel is working well as, when I shutdown one of the three nodes, another node is elected as the new master. Now…
Nicolas Payart
  • 1,046
  • 14
  • 28
0
votes
0 answers

Redis HA using Docker & Kubernetes (1 Master 2 slaves) Ubuntu 16.04

I'm trying to find a viable solution using Redis as a Master/Slave(at least 2 slaves) configuration. I have Docker containers with Ubuntu 16.04 OS & Redis server/sentinel installed (latest stable). I'm not looking for a clustered setup. I would…
0
votes
1 answer

Redis sentinel failover configuration receive always +sdown

I'm testing redis failover with this simple setup: 3 Ubuntu server 16.04 redis and redis-sentinel are configured on each box. Master ip : 192.168.0.18 Resque ip : 192.168.0.16 Resque2 ip : 192.168.0.13 Data replication works well but I can't get…
Valentino
  • 59
  • 1
  • 11
0
votes
1 answer

Now that Redis Cluster comes with sharding, replication and automatic failover, do i still need to use Sentinel for failover handling?

Now that Redis Cluster comes with sharding, replication and automatic failover, do i still need to use Sentinel for failover handling ?
Aryan Singh
  • 87
  • 2
  • 12
0
votes
1 answer

Redis Sentinel 3.2 not firing scripts

So we just apt updated Redis to v3.2.8 (from 3.0.7) on our Ubuntu 16.04 servers, and have noticed that the client-reconfig-script and notification-script doesn't seem to fire anymore, on failover events. We tested with debug sleep 30 and we can…
DarkNeuron
  • 7,981
  • 2
  • 43
  • 48
0
votes
1 answer

Redis replica handle failed connection strings

I think that there is something wrong with my Redis and web application deployment environment. It would be grateful if someone could review my configurations and handle the case that I find tricky. Redis configuration: I have multiple Redis…
Shavakan
  • 61
  • 9