Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3499378
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:36:16+00:00 2026-05-18T12:36:16+00:00

I dont currently have access to a SQL server cluster for development (one using

  • 0

I dont currently have access to a SQL server cluster for development (one using cluster services with a SAN behind it) but will do so in the future for the live environment.

When programming this from a .NET environment what should I expect to have to do in my code if the node I am connected to dies? Is the fail-over to the other node completely transparent? Do I need to catch some sort of exception and try to reconnect myself? Is there a code pattern for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T12:36:16+00:00Added an answer on May 18, 2026 at 12:36 pm

    Failover is a big fat disconnect that will cut all connection to the server. You will be able to reconnect in a few seconds to minutes usually, after the standby server has started and recovered the databases from the shared drive(s). Any transaction in-flight at the moment of the failover will be rolled back.

    In your application a failover will be a lights-out event, you’ll loose all your connections and any attempt to reconnect will fail until the recovery of the standby server is complete. If you use proper transaction semantics, the data will be correct and an well written application will resume without problems. If you don’t use transactions properly, you will have all sort of inconsistencies from logical half-writes not properly guarded by a transaction boundary.

    You can always test failover on a couple of virtual machines. Both Virtual Server and HyperV can simulate clusters on virtual hardware (not Virtual PC though), and I expect VMWare can as well (although I never tried it).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We don't currently have our SQL Server objects in any form of source control.
I have a SQL Server 2005 database that I'm trying to access as a
I have a Sql Server 2008 Express database file that's currently being used by
I have an ASP.NET MVC application up and running, using a SQL Sever express
Currently, I don't really have a good method of debugging JavaScript in Internet Explorer and
I currently don't know any thing about web services, except that they are used
I begin to program some handheld program as hobby, right now i currently have
Currently I'm trying to automatically generate a create script for all my SQL jobs
I'm currently on a 4-person team tasked with the development and maintenance of a
I have an application, which performs some custom data gathering, transformation and reporting. Currently,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.