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
1 answer

WARNING: Sentinel was not able to save the new configuration on disk!!!: Device or resource busy

I am trying to setup one master one slave and one sentinel on docker, for that I wrote this docker compose file. version: '3' services: redis-master: container_name: "redis-master" image: redis ports: - "6379:6379" command:…
0
votes
1 answer

Connecting Celery to Redis Sentinel

How come celery cannot find my sentinel service? I have: app.conf.broker_url = "sentinel://192.168.29.11:26379" app.conf.broker_transport_options = {"master_name": "mymaster"} And what I am getting is: {"message": "consumer: Cannot connect to…
0
votes
1 answer

Jedis cannot find master using sentinel when sentinel required password

Recently i work with redis and using jedis. In redis version 6, we can set required password mode for sentinels. I have 3 working sentinels, can connect and authen throught redis-cli. But using jedis, i can't connect to the sentinel with this…
0
votes
1 answer

StackExchange.Redis StringGetAsync returns null value

Setup Using 2 Redis Servers on Linux in Production Using Sentinel for High Availability StackExchange.Redis Nuget Package version is 1.2.6 .NET 4.5 Windows Service consumes the Redis Cache. The windows service is under load balancer. Application…
Ganapatsa
  • 21
  • 4
0
votes
0 answers

redisson unable to connect to sentinel with ssl, it is getting the master as non ssl

we have a redis-sentinel cluster consisting of three VMs running redis and sentinel, and I am using redisson library to connect to it. However we are facing an issue when connecting to it. It seems that when it gets the list of sentinels, it gets…
MrAbdul
  • 76
  • 3
  • 11
0
votes
1 answer

Redis Master Slave Configuration

I am trying to set up a Master-Slave Redis setup with 1 Master and 2 Slaves and 3 Sentinel nodes. Could anyone clarify the below questions? What is the difference between replicaof and slaveof properties? Some articles that referred uses either of…
CrazyCoder
  • 2,465
  • 8
  • 36
  • 57
0
votes
1 answer

How to configure Redis_sentinel with flask app?

Currently I am using Redis for my Flask app and having the configuration as below. redis_config =…
user17238351
0
votes
1 answer

redis-sentinel logs flooded with +sentinel-address-switch and +sentinel-address-update

Recently we updated docker swarm to redis-6.2 image. There are master-slave cache and queue set up on 2 swarm nodes, and 3 sentinel services set up to watch them. With 6.2 we use hostname resolution in the redis configuration with "sentinel…
0
votes
1 answer

Redis sentinel setup in kubernetes

I am looking for some guidance on sentinel setup in kubernetes. Problem i am facing is as follows. Sentinel process to start, a config file(sentinel.conf) has to be passed as command line argument and file must be writeable by the sentinel…
dsingh
  • 571
  • 2
  • 7
  • 17
0
votes
1 answer

Redis known-replica vs known-slave

What is the difference between known-replica and known-slave configuration parameters? I have updated redis version from 3.X to 6.X and now I have both in configuration.
0
votes
2 answers

Redis sentinel connection is timing out from nodeJS

Am trying to connect redis sentinel instance from nodeJS using ioredis. Am not able to connect redis sentinel instance despite trying multiple available options. We have not configured sentinel password. But, able to connect same redis sentinel…
Raj
  • 319
  • 1
  • 3
  • 18
0
votes
0 answers

How can I connect to sentinel over ssl using lettuce in spring-boot-data-redis?

I'm trying to connect to sentinel using spring-boot-data-redis:2.2.4.RELEASE. There are many configuration examples about sentinel, but not over ssl. I can connect to sentinel if I'm not using ssl configuration for now. Here's my lettuce…
0
votes
1 answer

format json output jq

I'm deploying redis-commander in Kubernetes. I'm creating a configuration connection file for Redis-Commander. I have a command in my bash script to get the required parameters for the connection file as per the link. Managed to connect locally…
Alan
  • 491
  • 4
  • 13
0
votes
1 answer

Redis authentication when using Redis Sentinel failover

I configured Redis and Redis-Sentinel in order to enable automatic failover. Redis has one master and 2 slaves. There are 3 sentinel nodes. I configured redis with authentication, so in redis.conf file of the master I added this: requirepass…
Tamar
  • 145
  • 4
  • 15
0
votes
1 answer

How setup sentinel-tunnel

I try to setup redis with two slave replicas and 3 sentinels. And I try to setup sentinel-tunnel for access to my redis. https://github.com/RedisLabs/sentinel_tunnel what can I write in Database name? { "Sentinels_addresses_list":[ …
Win32Sector
  • 65
  • 2
  • 10