Skip to main content

Questions tagged [redis-sentinel]

0 votes
0 answers
75 views

Twice in the past couple of years I’ve encountered an unusual issue whereby after a failover in a Redis Sentinel cluster, HAProxy has seemed to continue to route phantom connections to a node that is ...
motorleague's user avatar
0 votes
0 answers
140 views

I'm trying to set up a Redis master-replica cluster with Sentinel for HA, deployed using Docker Swarm mode. My setup works fine when I try it locally using docker-compose, but fails in Swarm: In ...
Efae's user avatar
  • 1
1 vote
0 answers
52 views

Is there any way that I can set up a symlink to /etc/redis.conf to a different location than /etc/redis/redis.conf and work? Let's say I have the file in my local directory, and instead of copying the ...
Daniel Mendoza Pupo's user avatar
1 vote
0 answers
314 views

here is my setup 10.1.0.2 - Master (slave-priority 10) 10.1.0.3 - Slave (slave-priority 100) 10.1.0.2 - Sentinel1 10.1.0.3 - Sentinel2 10.1.0.4 - Sentinel3 The failover is working as expected when ...
JRA's user avatar
  • 13
2 votes
1 answer
2k views

This may be a Serverfault or a Stack Overflow question, I'm not sure yet: I've set up a simple three node Redis system with a master and two replica nodes, managing failover with Redis Sentinel. Redis ...
Mikael H's user avatar
  • 5,189
2 votes
1 answer
9k views

so I have this kind of docker-compose version: '3.8' x-base: &base image: redis:latest x-base-sen: &base-sen image: redis:latest command: redis-sentinel /sentinel/sentinel.conf --...
scaryhamid's user avatar
0 votes
1 answer
258 views

I have set up three Redis servers using Bitnami Docker images. Both plain and TLS ports have been configured for Redis and Sentinel. How does Sentinel determine which Redis Master port (TLS or plain) ...
user2798081's user avatar
1 vote
0 answers
1k views

I have dockerized images of redis (as official dockerhub guides when using custom redis.conf) and custom image (based on alpine image see here: https://pastebin.com/9WsMk1JC ) of sentinel (also with ...
Konrad's user avatar
  • 11
0 votes
0 answers
2k views

I have redis-server package through standard apt command, but when I'm trying to run redis-cli --cluster create its not working. I'm getting "Unrecognized option or bad number of args for: '--...
John The Hacker's user avatar
0 votes
1 answer
223 views

Since some time we are running rspamd and redis (and sentinel) with a separate DB for most modules. Data seems to be written to the databases but for some reason we get errors like "cannot get masters ...
Lars's user avatar
  • 1
0 votes
0 answers
795 views

I'm migrating an application from a single server to a Kubernetes cluster. I'm no really sure what's the best option to migrate the Redis service, therefore I'd like to get the advice of anyone :) I ...
ZedTuX's user avatar
  • 211
4 votes
1 answer
19k views

Context: I have 3 redis nodes, and 3 sentinels. The failover works properly. When I'm taking the master down, another master is elected. Need: I need a way to test the behavior, to make sure ...
aspyct's user avatar
  • 380
0 votes
1 answer
5k views

I'm trying to set up redis-sentinel from bitnami and I'm getting the following error: redis-sentinel_1 | nami ERROR Unable to start com.bitnami.redis-sentinel: redis-sentinel_1 | *** FATAL ...
AndreasKralj's user avatar
0 votes
1 answer
651 views

I setup a Redis (version 4.0.6) sentinel cluster in two centos 6 VMs. Both master and slave Redis server has maxmemory set to 10GB and maxmemory_policy as volatile-lru. The problem is, both servers ...
muttalebm's user avatar
  • 101
1 vote
1 answer
5k views

I am attempting to create a redis-sentinel cluster using docker-compose on my system and have it visible to the host machine (this is to try and replicate an application that is going to use redis-...
mdedetrich's user avatar
1 vote
1 answer
9k views

Having trouble getting my Redis sentinel systemd services to start. I can run sentinels manually with success -- e.g.: root@poolwc:/etc/redis# redis-sentinel ./sentinel.conf --sentinel Three redis ...
Joenarr Bronarsson's user avatar
1 vote
1 answer
3k views

I'm facing an issue while connecting to Redis server via HAProxy using Jedis as a redis client. Everything works fine when Redis server is directly connected to but, the same is not working via ...
Sandeep Singh's user avatar
2 votes
1 answer
3k views

I've installed Redis server v=4.0.6 on Ubuntu 16.04 LTS from Chris Lea's PPA. It works great and I set up 2 Slaves. All is good. -- Now I want to install and configure Redis Sentinel, but I can't ...
user450409's user avatar
1 vote
1 answer
3k views

I configured an HAProxy service for my Redis Cluster installation (3 nodes with Redis Sentinel managing the master delegation) and it works good: clients are redirected only to the master node and ...
Mat's user avatar
  • 1,963
3 votes
0 answers
1k views

I have a node Redis cluser with 1 master and 2 slaves. Sentinel is running on all of them. master 172.29.245.6 slave1 172.29.240.163 slave2 172.29.225.104 With my master up, this is the status of my ...
Jason Stanley's user avatar
1 vote
1 answer
310 views

I am working on a Tomcat cluster experimentally because of it may be need for us production environments. It must be scaleable, high available and support as much as multi concurrent users. Because of ...
Mert Saygı's user avatar
14 votes
3 answers
74k views

I'd like to disable protected-mode on my production Redis. Regarding to the following error I got from my other Redis-Sentinel instance I could disable it live by connecting to Redis from the master ...
Thomas Schwärzl's user avatar
0 votes
1 answer
1k views

I want to set up a 3-instance sentinel cluster in AWS and then have a master and standby redis instance controlled by the sentinel cluster. The question is how to deal with DHCP in an AWS VPC. Since ...
numb3rs1x's user avatar
  • 533
1 vote
0 answers
650 views

We have two Redis servers behind an HAProxy server. One server is the master, which is up, and the other is the slave, which is down. If the master goes down, the sentinels elect the other server to ...
siride's user avatar
  • 629
1 vote
2 answers
7k views

I've set up four server and sentinel instances on four different virtual machines in a simple master-slave setup. The key replication works fine, and all redis nodes recognized each other (I'm ...
Gergely Lukacsy's user avatar
1 vote
1 answer
2k views

I tried to set up redis sentinel to make it has high availability and support fail over. I begin by setup the redis replication (1 master and 2 slaves in 3 ec2-instances) And after that, i install ...
chaintng's user avatar
  • 529
1 vote
0 answers
2k views

I have two docker machines: $ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS redis-master * virtualbox Running tcp:/...
user606521's user avatar
1 vote
0 answers
771 views

I have an architecture with three Redis instances (one master and two slaves) and three Sentinel instances. In front of it there is a HaProxy. All works well until the master Redis instance goes down. ...
Damian's user avatar
  • 111
2 votes
3 answers
6k views

I have 2 sentineles and 2 redis servers. I want to configure sentinels using hostnames of redis servers. Currently, I define each hostname in hosts file like this. 10.22.20.156 clsupport1 10.22....
bhdrkn's user avatar
  • 73
5 votes
2 answers
4k views

I am trying to setup a Redis/Sentinel setup across 3 nodes, each of them running one redis instance and a sentinel instance. However, when the master machine goes down, the remaining sentinels just ...
The Mighty Rubber Duck's user avatar
3 votes
2 answers
948 views

I'm running replicated Redis that includes a master and just one slave. My goal is to implement a replication (using Redis sentinels) in which the slave becomes master when the master goes down, but ...
empe's user avatar
  • 33
4 votes
1 answer
9k views

I am looking to implement a HA redis implementation using Master-Slave redis servers. The web servers will connect to these through an HAProxy instance installed on each box. The situation is easy ...
JonoCoetzee's user avatar