Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DB Mirroring / Auto-Failover, but ODBC?

Posted on 2010-08-18
7
1,016 Views
Last Modified: 2012-08-13
I think I have a problem.

I'm all excited about finally getting auto-failover in place for some of our databases, using High Safety configuration and mirroring.

For client apps, I know we can edit the connection strings to identify the failover server.

But...it just hit me that some of our backbone (third-party) applications use ODBC DSNs to identify our primary server.

Crap!  I really want to use this configuration, and not a Windows Server cluster or anything like that.

What are my options?  I cannot convert this app to use ODBC.  And I cannot convert it to allow OLEDB connections.

Thanks for any insight on this.
0
Comment
Question by:bamapie
7 Comments
 
LVL 42

Accepted Solution

by:
dqmq earned 500 total points
ID: 33470389
>What are my options?  I cannot convert this app to use ODBC.  And I cannot convert it to allow OLEDB connections.

That's a bit confusing because the issue was with respect to 3rd party app's that DO use ODBC.  In any case, if the ODBC DSN's are configured with the Native Client provider, then you do get the option for a Mirroring failover server.

Beyond that, you would need to look for some infrastructure in your network layer that redirects DNS assignments or reassigns IP addresses.  Not quite automatic, though.  

0
 
LVL 3

Expert Comment

by:mnachu
ID: 33470391
I guess your infrastructure guys can add an entry to the DNS server that has the name of the failed server which maps to the new running server. Wouldn't something like re-directing solve your problem?

Regards,
Nachi
0
 
LVL 2

Expert Comment

by:dhlotter
ID: 33474030
High Availability operating mode provides durable synchronous transfer between the principal and mirror databases, as well as automatic failure detection and automatic failover.

High Safety operating mode transfers transactions synchronously, but it does not have a witness server. The synchronous transfer guarantees that all transactions committed at the principal are fi rst committed at the mirror, and it requires the same performance considerations as the High Availability operating mode. However, the lack of a witness prevents automatic failover to the mirror if the principal fails. If the principal fails in High Safety operating mode, you must promote the mirror manually to serve the database. Because High Safety operating mode’s synchronous transfer can affect application performance but does not offer the benefi t of automatic failover, this operating mode is not recommended for normal operations. You should confi gure a Database Mirroring session in High Safety operating mode only when you need to replace the existing witness server. After you have replaced or recovered the witness, you should change the operating mode back to High Availability operating mode.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 2

Expert Comment

by:dhlotter
ID: 33474047
in other words, you would not be able to use high safety mode for automatic failover.
0
 

Author Comment

by:bamapie
ID: 33474804
dhlotter:  I mixed up my terms.  I meant High Availability.
0
 

Author Comment

by:bamapie
ID: 33475385
dqmq:

>In any case, if the ODBC DSN's are configured with the Native Client provider,
>then you do get the option for a Mirroring failover server.

Where would I see / configure this?

Thanks
0
 

Author Comment

by:bamapie
ID: 33475689
Never mind, I see it.  Awesome.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question