Questions tagged [redis-sentinel]

27 questions
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
  • 241
  • 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
0 answers

redis sentinels with docker-compose

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 --protected-mode no services: redis1: <<: *base …
scaryhamid
  • 33
  • 3
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
  • 321
  • 1
  • 4
  • 15
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 Sentinel Systemd services failing to start on Ubuntu 16.04 and CentOS 7

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 servers at 10.9.8.1, .2, .3 .2 and .3 are slaves to…
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
  • 483
  • 1
  • 4
  • 6
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…
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
0
votes
0 answers

How to migrate a standalone Redis instance to a Kubernetes Master/Slave replication

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 have deployed the Spotahome redis operator and…
ZedTuX
  • 181
  • 1
  • 8
1
2