failover

Cross-colo fail-over design, DNS level fail-over?

二次信任 提交于 2020-01-01 04:34:13
问题 I'm interested in cross-colo fail-over strategies for web applications, such that if the main site fails users seamlessly land at the fail-over site in another colo. The application side of things looks to be mostly figured out with a master-slave database setup between the colos and services designed to recover and be able to pick up mid-stream. I'm trying to figure out the strategy for moving traffic from the main site to the fail-over site. DNS failover, even with low TTLs, seems to carry

NHibernate and database connection failover?

天涯浪子 提交于 2019-12-31 02:19:15
问题 I am using NHibernate to connect to a legacy rdbms system. Under high production load the rdbms service fails. To maintain the availability we have a failover rdbms service. Is there a way to configure NHibernate to use the FailOver Connection String when the primary connection is down? Additional Info: I am using Castle over NHibernate. If Castle provides handling of failover connections then that will also do it for me. 回答1: You can build your own NHibernate.Connection.IConnectionProvider

How to enforce message queue sequence with multiple WCF service instances

会有一股神秘感。 提交于 2019-12-30 04:47:07
问题 I want to create a WCF service which uses an MSMQ binding as I have a high volume of notifications the service is to process. It is important that clients are not held up by the service and that the notifications are processed in the order they are raised, hence the queue implementation. Another consideration is resilience. I know I could cluster MSMQ itself to make the queue more robust, but I want to be able to run an instance of my service on different servers, so if a server crashes

MSMQ Cluster losing messages on failover

夙愿已清 提交于 2019-12-25 02:28:06
问题 I've got a MSMQ Cluster setup with nodes (active/passive) that share a drive. Here are the tests I'm performing. I send messages to the queue that are recoverable. I then take the MSMQ cluster group offline and then bring it online again. Result: The messages are still there. I then simulate failover by moving the group to node 2. Moves over successfully, but the messages aren't there. I'm sending the messages as recoverable and the MSMQ cluster group has a drive that both nodes can access.

How to load balance/failover with pouchdb/couchdb?

送分小仙女□ 提交于 2019-12-24 00:36:30
问题 Just looking for info on what strategies people use for this? In the examples I see it is really easy to make a remote database connection that I will call get() on. var remoteDb = new PouchDB('https://myhost.com/db'); var data = remoteDb.get("myId"); But what if I have several remote databases set up that are syncing with each other. I want the clients to be able to use them all without changing the code. I am considering doing this through dns. For example have db.myhost.com with multiple

Intermittent Cloudfront CDN failures (monitoring) - CDN Failover

最后都变了- 提交于 2019-12-23 16:50:26
问题 For the past 2 months I have been experiencing Amazon Cloudfront intermittent failures (2-3 times a week) whereby the page would load from my web server but all the assets from the CDN would block in pending for minutes at the time (I confirmed that with shell curl from different datacenters some work some don't depending on the edge location - London?). Once the pending requests succeed all goes back to normal. We have been reporting this to amazon but they always reply with "Don't expect

AWS alternative to DNS failover?

荒凉一梦 提交于 2019-12-23 13:20:33
问题 I recently started reading about and playing around with AWS. I have particular interest in the different high availability architectures that can be acheived using the platform. Specifically, I am looking for a reliable poor man's solution that can be implemented using the least amount of servers. So far, I am satisfied with solutions for the main HA concerns: load balancing, redundancy, auto recovery, scalability ... The only sticking point I have is with failover solutions. Using an ELB

Redis cluster failover: slave won't become master

孤人 提交于 2019-12-23 02:46:30
问题 I am trying to test my software behavior during cluster failover, and for that reason I want to configure a simplest cluster: one master and two slaves. I have tree files 7000.conf - 7002.conf of the following content: port 7000 cluster-config-file nodes.7000.conf appendfilename appendonly.7000.aof dbfilename dump.7000.rdb pidfile /var/run/redis_7000.pid include cluster.conf The content of cluster.conf : cluster-enabled yes appendonly yes maxclients 100 daemonize yes cluster-node-timeout 2000

Adding a generic service to cluster from powershell

十年热恋 提交于 2019-12-21 21:14:00
问题 I'm a newbie in clustering and I'm trying to create a generic service to a cluster using PowerShell. I can add it without any issues using the GUI, but for some reason I cannot add it from PowerShell. Following the first example from the documentation for Add-ClusterGenericServiceRole, I've tried the following command: Add-ClusterGenericServiceRole -ServiceName "MyService" This throws the following error: Static network was [network range] was not configured. Please use -StaticAddress to use

Log4j2's FailoverAppender Error: appender Failover has no parameter that matches element Failovers

拈花ヽ惹草 提交于 2019-12-21 13:29:09
问题 When I compile my spring 3.2.9 web application using log4j 2.1, this error appears in the console: 2015-02-02 12:08:25,213 ERROR appender Failover has no parameter that matches element Failovers What I understand is that the element "Failovers" does not exist inside the element "Failover", right? Why would this happen? I don't see whats wrong since I have the same configuration as the log4j2 manual. I have this configuration in my log4j2.xml: <?xml version="1.0" encoding="UTF-8"?>