failover

ActiveMQ store-and-forward broker hangs after failover of master-slave pair

Hi all, I'm encountering some problem with ActiveMQ 5.3. We have the following setup: - A master-slave pair ('master' and 'slave') - A broker ('broker') that forwards messages to either 'master' or 'slave', depending on who is active The symptom I see: When I start 'master', 'slave' and 'broker' messaging works as expected: When I publ...

Webserver failover

I will be running a dynamic web site and if the server ever is to stop responding, I'd like to failover to a static website that displays a "We are down for maintenance" page. I have been reading and I found that switching the DNS dynamically may be an option, but how quick will that change take place? And will everyone see the change i...

How to accomplish a Windows share failover system?

I have a primary and a backup windows 2008 server, and a bunch of windows XP clients that map a drive to a share on the primary server. If the primary server goes down, I want those client machines to automatically re-map their drive to the backup server, so they can continue to access the files. Should I try to write a vbscript or pyt...

How to set a queue producer timeout?

Hello all, I am testing WebLogic 10.3.1 JMS, but there has a problem. My Testing step: Start WebLogic Server Start JMS Client Client send a object to WebLogic JMS and server received the object. Stop WebLogic Server Send another object to WebLogic JMS. What I expect is a exception come out, but there have not anything appear and pr...

Handling database queries that fail due to a server failover

In an environment with a SQL Server failover cluster or mirror, how do you prefer to handle errors? It seems like there are two options: Fail the entire current client request, and let the user retry Catch the error in your DAL, and retry there Each approach has its pros and cons. Most shops I've worked with do #1, but many of them...

EC2 database server failover strategy

I am planning to deploy my web app to EC2. I have several webserver instances. I have 1 primary database instance. I have 1 failover database instance. I need a strategy to redirect the webservers to the failover database instance IP when the primary database instance fails. I was hoping I could use an Elastic IP in my connection st...

what if google.load fails?

Curious if there was a simple way to have a fail-safe on google.load() The likely hood that google can't deliver the file but I can is pretty slim but I thought it might be interesting to have my own server be able to provide a failover in case the request bombs or timesout or something. any thoughts? I'm using MS visual studio 2008 /...

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 started and not when the actual failover happens. Now it causes the slave instance to receive ...

Oracle Thin Driver and Transparent Failover of RAC DB

I know the oci driver can perform transparent failover of the database, but does the thin driver have the same capability? ...

WebLogic load balancing

Hello, guys! I'm currently developing a project supported on a WebLogic clustered environment. I've successfully set up the cluster, but now I want a load-balancing solution (currently, only for testing purposes, I'm using WebLogic's HttpClusterServlet with round-robin load-balancing). Is there any documentation that gives a clear compa...

Troubleshooting failover cluster problem in W2K8 / SQL05

I have an active/passive W2K8 (64) cluster pair, running SQL05 Standard. Shared storage is on a HP EVA SAN (FC). I recently expanded the filesystem on the active node for a database, adding a drive designation. The shared storage drives are designated as F:, I:, J:, L: and X:, with SQL filesystems on the first 4 and X: used for a back...

Wanted: ISP failover software resources

I have a client with a windows computer on a yacht. It has up to 1-3 working internet connections depending on where the boat is. One connection is via a satellite link (the most reliable, but slowest at 256kbits/sec), another is a dedicated cell phone link (~1Mbit/sec on a good day in a good location), and the 3rd is a wifi connection i...

Advise/Code samples on how to make an application "Cluster Aware"

Hi All, I've browsed the web for resources regarding how to make an application/web application "Cluster Aware" using the Failover Cluster API. I found a lot of technical articles but none written from the programmer perspective. Does someone have any good links or can provide me with code samples or some other input on how to make an a...

Oracle JDBC connection caching + TAF failover?

Hello, Is it possible to use Oracle JDBC implicit connection caching in conjuction with Oracle TAF failover? Or is this available only to Fast Connection Failover? Thanks. ...

NHibernate and database connection failover?

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...

How to check if a database connection is still open in Ado.Net?

Is there a way to check if a database connection is open? I am trying to check the connectionState but it shows ConnectionState as Open even when database is down. private bool IsValidConnection(IDbConnection connection) { return (connection != null && connection.State == ConnectionState.Open); } ...

JBoss Clustered Service that sends emails from txt file

I need a little push in the right direction. Here's my problem: I have to create an ultra-reliable service that sends email messages to clients whose addresses are stored in txt file on FTP server. Single txt file may contain unlimited number of entries. Most often the file contains about 300,000 entries. Service exposes interface with ...

How to achieve high availability?

My boss wants to have a system that takes into concern of continent wide catastrophic event. He wants to have two servers in US and two servers in Asia (1 login server and 1 worker server in each continent). In the event that earthquake breaks the connection between the two continents, both should work alone. When the connection is rev...

Switchback with spring-ldap failover

I have configured multiple LDAP servers as per reference documentation 8.1.1. LDAP Server URLs. I can confirm that if the first server crashes the application starts using successfully the next servers. However I would need the application to switch back to using the first server in the list when it comes available, even though the othe...

How to JBoss/Blazeds clustering and channel failover

Hi, I'm stuck with jboss and blazeds clusterization. What I have now is : 2 Jboss Instances, running in all mode One load balancer with apache and mod_jk, as suggested by Jboss docs A spring/flex integration app A flex application that I do not want to throw errors when one of my JBoss instances falls I find Adobe documentation reall...