failover

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 immature, stubbed session interface implementation. Its otherwise a great caching solution, th...

How do I cluster an upload folder with ASP.Net?

We have a situation where users are allowed to upload content, and then separately make some changes, then submit a form based on those changes. This works fine in a single-server, non-failover environment, however we would like some sort of solution for sharing the files between servers that supports failover. Has anyone run into this...

Is there an ldap C/C++ library that provides fail over?

I'm looking for an LDAP libracy in C or C++ that allows me to specify a list of LDAP hostnames instead of a single hostname. The library should then use the first one it can connect to in case one or more of the servers is/are down. I'm sure it'd be easy to wrap an existing library to create this, but why reinvent the wheel? ...

Failover & Disaster Recovery

What's the difference between failover and disaster recovery? ...

Distributed Cache/Session where should I turn?

I am currently looking at a distributed cache solution. If money was not an issue, which would you recommend? www.scaleoutsoftware.com ncache memcacheddotnet MS Velocity ...

Does PHP have a built in mechanism to failover from one database server to another?

I found this: http://www.evolt.org/failover-database-connection-with-php-mysql and similar examples. But is there a better way? I am thinking along the lines of the Automatic Failover Client in the MS SQL Native Client. ...

Setting up a backup DB server in ASP.NET web.config file

I currently have an asp.net website hosted on two web servers that sit behind a Cisco load balancer. The two web servers reference a single MSSQL database server. Since this database server is a single point of failure, I'm adding an additional MSSQL server for backup. I would like to setup my web.config files to write everything to b...

What would be the best approach to designing a highly available pool of web services?

I've heard a lot of people touting success using Linux based proxies to handle routing for high availability of web applications, but what are others doing with web services? I have a bank of WCF services that need to be moved to a high availability (failover) model, meaning that if a particular server hosting the WCF services goes down,...

Can MOSS 32 bit and 64 bit exist in the same farm?

I am trying to setup a failover location for MOSS. The current farm is built on 32 bit Windows 2003. The servers ar the failover location are all 64 bit Windows 2008. Is there any way to make these two environments talk and stay in sync? I have considered a "stretched" farm configuration, but that won't work unles the bit width of both ...

In Log Shipping configuration with SQL2005, Primary server's backup job not being added

I'm creating a log shipping configuration between two sql server 2005 instances. I'm shipping the logs of a single database and I'm not using a Monitor service (for the time being). When I run the SQL Server Log Shipping Wizard on the database, the script executes as it should and claims there are no errors. But when it's complete, th...

Mirroring vs. Log Shipping in Sql Server 2005

I'm interested in hearing people's thoughts about the pros and cons of database mirroring vs. log shipping in this scenario: we need to setup a database backup situation wherein there is exactly one secondary server that need not automatically pick up when the primary fails. Recovering and starting with the secondary should not have to ...

MySQL failover using MySQL Proxy

Hi, I'm looking at implementing a failover mechanism for a MySQL database using MySQL Proxy (http://forge.mysql.com/wiki/MySQL_Proxy) My proposed setup is as follows: One active MySQL server and one passive MySQL with two way replication enabled between the both of them. MySQL Proxy is the failover that sits in between these two server...

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

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

Glassfish failover without load balancer

I have a Glassfish v2u2 cluster with two instances and I want to to fail-over between them. Every document that I read on this subject says that I should use a load balancer in front of Glassfish, like Apache httpd. In this scenario failover works, but I again have a single point of failure. Is Glassfish able to do that fail-over without...

What's your disaster recovery plan?

And what would you recommend for an ASP Net web application, with a not so large SQL server database (around 10Gb)? I was just wondering, is that a good idea to have an Amazon EC2 instance configured ready to host your app in an emergency? In this scenario, what would be the best approach to keep the database updated (log shipping? man...

Programatically Determine Master Server in SQL Failover Scenario

Part 1: In a Microsoft SQL Server 2005 failover scenario, how can the databases be queried to determine which server is the master and which server is the slave? I'm looking for something more elegant than attempting to query on the server and see which one throws an exception. Part 2: Is there a way to monitor and determine when the ...

SqlClient.SqlException occurs during Database Fail Over

I have two Microsoft SQL 2005 databases setup in a fail over scenario. The application connection strings have the "Failover Partner" specified in the connection string. When the currently live database fails over to the slave database, there is a small time period that a user can obtain a SqlClient.SqlException with the message "An ex...

What algorithms there are for failover in a distributed system?

I'm planning on making a distributed database system using a shared-nothing architecture and multiversion concurrency control. Redundancy will be achieved through asynchronous replication (it's allowed to lose some recent changes in case of a failure, as long as the data in the system remains consistent). For each database entry, one nod...

What should be included in the state-of-the-art error and exception handling strategy?

I understand that this is a very broad question, but a short “it depends” kind of answer will not be accepted. Strategies are born to deal with broad issues. What issues should an application designer take into consideration when devising the error and exception handling strategy? How the strategy will differ depending on the software ...

Simplest way to back Tomcat with an Apache HTTP instance

I have a single Tomcat 6 instance that frequently needs to be rebooted because of PermGen issues after multiple WAR deployments. In a Production environment it's clearly bad practice to take down the site, leaving any visitors with nothing but a connection failure. The big picture is to set up a fail-over Tomcat cluster of one or two mo...