The automatic switching to a redundant or standby computer server, system, hardware component or network upon the failure or abnormal termination of the previously active application, server, system, hardware component, or network.
Questions tagged [failover]
859 questions
7
votes
1 answer
Haproxy close connections to backup hosts when primary comes back
Question
Can I get haproxy to close all connections to backup hosts when a primary host becomes available after being down?
Context
I am using HAproxy to do failover for pubsub.
The haproxy backend config looks something like this:
listen pubsub…

Nick
- 900
- 1
- 10
- 19
7
votes
2 answers
Is Redis a better option for SignalR scale out over SQL Server, and do each support failover?
In David Fowler's blog, SQL Server has been added to the list of scale out providers for service bus.
I am in the process of implementing Redis on our Windows servers. Based on what I know about Redis, I'm guessing it will be significantly faster…

ElHaix
- 12,846
- 27
- 115
- 203
6
votes
1 answer
Failover with Spring AMQP and RabbitMQ HA
There are multiple articles suggesting that load-balancer should be used in front of RabbitMQ cluster.
However, there are also multiple references that Spring AMQP is using some
failover implementation like connection reset when broker comes back…

Martin Macak
- 3,507
- 2
- 30
- 54
6
votes
2 answers
mysql failover: how to choose slave as new master?
I'm mysql newbie.
when it comes to fail-over, which slave should be promoted to the new master?
For example, A is master, B and C are slaves, and A does async replication to B and C.
At some point of time, B receives more data from A than C, A…

kingluo
- 1,679
- 1
- 13
- 31
6
votes
2 answers
Multi-AZ RDS test failover and connection monitoring
My question has two parts:
What is the best way to initiate an RDS failover for testing purposes?
How can I monitor the connection during failover in order to observe the time that it takes for AWS to reconnect the user to the standby…

amparito
- 323
- 2
- 4
- 12
6
votes
0 answers
Client-side Failover & Retry handling with multiple DNS A Records
Recently I was asked to implement client-side failover for an app I wrote. Personally, all the failover/load-balancing schemes I can recall working with have been implemented server-side, through a middleman proxying server. The head of the server…

Shin
- 101
- 5
6
votes
4 answers
How to connect to mirrored SQL Server after failover?
I set up a database mirroring and then used this connectionstring to connect to it:
Data Source={0};Failover Partner={1};Initial Catalog=AdventureWorks;
Integrated Security=True;
After adding some data into database, I shutdown the…

Delta76
- 13,931
- 30
- 95
- 128
6
votes
3 answers
How to start Camel routes on slave ActiveMQ only when slave becomes active in failover?
I have a durable consumer to a remote JMS queue in embedded Camel routing. Is it possible to have this kind of routing with master-slave configuration? Now it seems that the Camel routes are started and activated already when slave ActiveMQ is…

Tommi L.
- 360
- 1
- 6
- 14
6
votes
1 answer
Spring Batch - Clustered Environment - Failover mechanism
Question: What is the failover strategy that spring batch supports best? Resource usage, failover mechanism have to be focussed on. Any suggestions?
Usecase - Spring batch has to be run to read a file(that will be put on the server by another…

Sunil
- 1,238
- 3
- 13
- 21
6
votes
2 answers
ActiveMQ network of brokers don't forward messages
I had two ActiveMQ brokers (A and B) that were configured as store-forward network. They work perfectly to forward messages from A to B when there is a consumer connected on broker B and producer sends messages to A. The problem is that when the…

Carl Z
- 109
- 2
- 8
6
votes
4 answers
FOSS ASP.Net Session Replication Solution?
I've been searching (with little success) for a free/opensource session clustering and replication solution for asp.net. I've run across the usual suspects (indexus sharedcache, memcached), however, each has some limitations.
Indexus - Very…

jsight
- 27,819
- 25
- 107
- 140
5
votes
1 answer
mod_proxy time-outs (502) and failovers
so we're running a cluster of 2+ backend servers (happend to be JBoss servers) that are being load-balanced by an Apache 2.2. From time to time it can happen that the backend servers become unresponsive (meaning they'll wait ages to reply to a…

Sebastian Schuon
- 73
- 1
- 5
5
votes
2 answers
Best practices to manage docker containers in AWS ECS service
Tech Stack
Python (Monolith API) - Flask Framework
PostgreSQL
We have deployed docker container as follows
Docker image is stored in ECR
Docker container is deployed in ECS
In total 25 docker container is deployed in 3 R5 large EC2 instances (2…

Manish Joisar
- 1,256
- 3
- 23
- 47
5
votes
0 answers
Kafka broker failover - Consumer not working when first node is down
I am testing KAFKA(2.11_2.1.0) broker failover.
I have 3 nodes:
node0:
broker.id=0
listeners=PLAINTEXT://localhost:9092
advertised.listeners=PLAINTEXT://localhost:9092…

lord sadeghi
- 59
- 7
5
votes
1 answer
How to get Test-cluster output in object format?
The command Test-Cluster is producing an output as a xml and htm file.
$v = test-cluster -Node w16-sqlcA,w16-sqlcB -Include "Storage" -Force -Disk $csv -Verbose
Seems like only way to get the detailed result is by parsing the xml. I have to get the…

Samselvaprabu
- 16,830
- 32
- 144
- 230