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

Redis Sentinel: Master name in notifications

When Redis Sentinel notifies about events, it does not provide the name of the Redis master. An excerpt from the config: # sentinel notification-script # # Call the specified notification script for any sentinel event…
udondan
  • 57,263
  • 20
  • 190
  • 175
0
votes
2 answers

Redis Sentinel and ShardedJedis for ShardedJedisPipeline

I was initially using Redis in cluster mode at production. But later I realised that if I use Redis independent servers using ShardedJedis java API, I can use ShardedJedisPipeline which has better performance due to obvious reasons. But while using…
abi_pat
  • 572
  • 2
  • 12
  • 35
0
votes
1 answer

Redis Sentinel output in conf file

I was testing Redis Sentinel's failover ability. It worked, and Sentinel added some lines to the conf files. It auto-discovered the other sentinels and slave replicas, but it added some weird ids. Can anyone tell me what those ids represent? Since…
user5047085
0
votes
1 answer

Redis Sentinel - How to get Config Value?

I want to find the number of maxclients for a running Redis sentinel. There is no config set in the .conf file for the sentinel, so I want to find out the current value. However when I connect via redis-cli -p 26379 and enter "config get…
Henley
  • 21,258
  • 32
  • 119
  • 207
0
votes
2 answers

Redis sentinel implementation

We have a setup with : 2 php server 2 redis servers running as master/slave 1 Log server, which stores all kind of logs in elastcisearch We want to implement automatic failover for redis servers, right now in php servers redis master address ir…
Kristapsv
  • 558
  • 5
  • 15
0
votes
1 answer

redis sentinel out of sync with servers in a cluster

We have a setup with a number of redis (2.8) servers (lets say 4) and as many redis sentinels. On startup of each machine, we set a pre-select machine as master through the command line and all the rest as slaves of that. and the sentinels all…
Osada Lakmal
  • 891
  • 2
  • 8
  • 22
0
votes
1 answer

Redis master failover on Openshift

I've installed http://rediscart-claytondev.rhcloud.com/build/manifest/redis-2.8 cartridge and scaled it to 3 gears. The REDIS_SENTINEL_QUORUM is set to 2 on each. The sentinels are starting up OK after I've changed the ~/redis/bin/control from: erb…
ptrk
  • 1,800
  • 1
  • 15
  • 24
0
votes
1 answer

redis accumulate & publish a set of operations

Is it possible to instruct Redis to accumulate a set of operations and then issue a "publish all" command to publish the entire set of operations ( in linear order ) ? So you'd somehow set a marker ( startpublish ? ) and a cache would accumulate…
BaltoStar
  • 8,165
  • 17
  • 59
  • 91
-1
votes
0 answers

*** FATAL CONFIG FILE ERROR (Redis 6.0.6) ***

Aug 22 21:47:45 PostgreSQL-Node03 systemd[1]: Starting Redis Sentinel... -- Subject: Unit redis-sentinel.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit…
-1
votes
1 answer

How to find which Redis instance was master on a specific day (Redis promotion history)

I am running Redis + Sentinel as containers on 4 RHEL machines. Is there a way of finding out which Redis server was the master on a specific day? I know running INFO (INFO REPLICATION) will give me the current role for each server, but I'd like to…
Confounder
  • 469
  • 1
  • 8
  • 23
-1
votes
1 answer

Redis Sentinel Error condition on socket for SYNC: Connection refused on Ec2 instance

I am trying to connect the master node to slave nodes. I have created three instances one is master node and another two instance is slave nodes when i am trying automatic failover in redis sentinel both of the slave node got this…
-1
votes
3 answers

Redis cluster on load balancer

I have setup a redis cluster with 1 master node and 2 slave nodes with sentinel running on all 3 nodes. Prior to this setup, my application was pointing to a single node where redis instance was running. After the clustering had been set up, where…
Ashok
  • 13
  • 8
1 2 3
21
22