Questions tagged [redis-sentinel]

31 questions
1
vote
2 answers

Redis: failing failover - sentinels can't elect new master node

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 referring to the known-sentinel and known-slave…
Gergely Lukacsy
  • 111
  • 1
  • 6
1
vote
1 answer

Cannot set password for redis sentinel 3.2

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 redis-sentinel service for each instance. However,…
chaintng
  • 519
  • 4
  • 8
1
vote
0 answers

Redis master-slave "connection lost" error

I have two docker machines: $ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS redis-master * virtualbox Running tcp://192.168.99.100:2376 v1.10.1 …
user606521
  • 251
  • 1
  • 2
  • 8
1
vote
0 answers

Redis Sentinel master not downgraded to slave immediately

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. The new master is properly chosen by Sentinel.…
Damian
  • 111
  • 2
1
vote
1 answer

Redis Sentinel with TLS - how to get node FQDN rather than IP?

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 and Sentinel network traffic is secured using…
Mikael H
  • 5,031
  • 2
  • 9
  • 18
1
vote
0 answers

Redis Sentinel cannot connect to Master that is using password - Redis 6.2 (dockerized)

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 custom sentinel.conf). In redis.conf, those three…
Konrad
  • 11
  • 1
0
votes
1 answer

redis-sentinel Docker container can't resolve master instance hostname

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 CONFIG FILE ERROR *** redis-sentinel_1 | Reading the…
AndreasKralj
  • 331
  • 1
  • 6
  • 16
0
votes
1 answer

Redis taking too much memory

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 are taking alot of memory. Master: #…
muttalebm
  • 101
  • 2
0
votes
1 answer

redis sentinels in AWS and static IPs

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 the redis and sentinel cluster have to know where…
numb3rs1x
  • 513
  • 1
  • 4
  • 6
0
votes
0 answers

H3C server requirement

I am searching for a server that can best fulfill my requirements. I need it specifically for the best DB I/O performance for a 10-million record database. I am looking for generation-specific details of H3C servers. Please suggest.
sysdev
  • 1
0
votes
0 answers

Having two datacenters with two virtual servers at each, what is the suitable redis topology for high availability?

I have two data centers, A and B, which has two virtual servers at each site. We have connectivity between the two sites. I'm planning to deploy one redis HA cluster with two masters and two slaves. One master, one slave on A and vice-versa at the…
0
votes
0 answers

Redis sentinel not switching back to master

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 the Master is down. However, when the original…
JRA
  • 3
  • 2
0
votes
1 answer

Change Redis Sentinel offered port

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) should present to the client? Is there any…
user2798081
  • 41
  • 1
  • 5
0
votes
0 answers

Redis-cli --cluster create command is not working?

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: '--cluster'". Please help me to fix it.
0
votes
1 answer

rspamd redis sentinel time out

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 data from Redis Sentinel 10.11.12.1:26379:…
Lars
  • 1
  • 2