Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Mirroring

Author  Topic 

stumbling
Posting Yak Master

104 Posts

Posted - 2009-10-19 : 03:47:21
Hi All

We are contemplating DB mirroring using High Availability and a witness server. There are so many questions but the main one i need to know is how does the client app that uses an ODBC connections and points to say serverabc know automatically to jump to serverdef?

I know how it works in our cluster environment and wonder does it work the same using a virtual IP so to speak?

Any news would be great.

Cheers

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-19 : 14:13:24
You need to use a special driver for the client app to know about the failover. For .NET apps, it's the Native SQL driver.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

stumbling
Posting Yak Master

104 Posts

Posted - 2009-10-19 : 16:35:00
Thanks for that i gather if you dont use the Native driver then you are forced to manually alter all client apps.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-19 : 17:13:03
Either that or use a DNS alias on the client side and then make a DNS change when the failover happens.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

stumbling
Posting Yak Master

104 Posts

Posted - 2009-10-19 : 18:09:35
Thanks for that DNS Alias mmm.

One other question is I have looked all over the place for limitations of mirroring but found not much? We were told that it only supports 10 databases on any one instance of SQL have you seen anything about this?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-19 : 18:10:47
That isn't true. We have one SQL instance that is mirroring about 30 databases out to our DR site. We're running Enterprise Edition though, not sure if that matters.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

stumbling
Posting Yak Master

104 Posts

Posted - 2009-10-19 : 19:10:22
Thanks for that it info gives me somewhere to mabe start looking at.

Cheers
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-19 : 19:30:38
You're welcome.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -