Questions tagged [redis-sentinel]
27 questions
11
votes
1 answer
How to turn off 'protected-mode' in Redis?
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 machine it runs on.
DENIED Redis is running in…
Thomas Schwärzl
- 323
- 1
- 5
- 13
5
votes
2 answers
Redis Sentinel does not take action when the master goes down
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 sit there doing nothing, then decide to set each…
The Mighty Rubber Duck
- 297
- 5
- 9
4
votes
1 answer
Redis sentinel + HAProxy failover
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 with only two servers, if one goes down the other…
JonoCoetzee
- 315
- 1
- 3
- 12
3
votes
1 answer
Redis sentinel: force switch to another master
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 everything works as expected. I wish I could force the…
aspyct
- 340
- 6
- 19
3
votes
0 answers
Redis - Manual failover works but Automatic doesnt
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 cluster.
Version -->…
Jason Stanley
- 185
- 1
- 11
3
votes
2 answers
Static master in Redis replication
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 additionally the old master is promoted back when…
empe
- 33
- 2
2
votes
1 answer
Installer for Redis Sentinel on Ubuntu 16.04 LTS
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 find installers and configuration guide. Google…
sts
- 115
- 2
- 16
2
votes
3 answers
Redis Sentinel Configuration and Hostnames
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.20.157 clsupport2
And I try to configure…
bhdrkn
- 73
- 1
- 8
1
vote
1 answer
Redis Sentinel not respecting announce-ip option
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-sentinel locally).
I have created the following…
mdedetrich
- 111
- 3
1
vote
1 answer
Redis Client not connecting to Redis server via HAProxy
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 HAProxy. Both HAProxy and Redis services are running on…
Sandeep Singh
- 13
- 3
1
vote
1 answer
HAProxy for Redis Sentinel: want BACKUP, not DOWN
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 whenever a slave node becomes master, HAProxy…
Mat
- 1,783
- 4
- 22
- 39
1
vote
1 answer
How to find limits of clustered Tomcat with Session Replication
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 that i made a test environment like that:
…
Mert Saygı
- 11
- 3
1
vote
0 answers
HAProxy health check consecutive counts not resetting
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 be the master. That part is working fine. What's…
siride
- 529
- 2
- 7
- 18
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
- 489
- 4
- 8