RE: how to failover sql server (programming, UDL)
- From: Linchi Shea <LinchiShea@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 15 May 2008 15:19:00 -0700
I assume that you are talking about Database Mirroring. A number of
conditions must be met before automatic failover can happen for a client: (1)
database mirroring must be running high-availability mode (with full safety
and a witness), (2) the mirrored database must already be synchronized, and
(3) The mirror adn witness has retained quorum. In addition, the client must
re-try.
See SQL2005 Books Online under "automatic failover" for more info.
Linchi
"stevehunter_1@xxxxxxxxxxx" wrote:
I have set up a UDL with "Failover partner=(server name)" and when i.
fail the primary sql server, it does not do anything. When I bring
the primary server back up, everything works fine again.
How are people designing applications with multiple servers? I have 2
servers, replicated with bi-directional transactional replication.
I would like to be able to specify server#1 as the primary, but if
there are errors with server#1 related to connectivity, i would like
to failover to server#2.
Question .. does this exist somehow with ADO or built into sql server
or some interfaces already or do I need to program this on my own? I
am really looking for functionality within sql server and if there is
no functionality there, then this might not be the best group, but how
are people handling this programatically ?
- References:
- how to failover sql server (programming, UDL)
- From: stevehunter_1
- how to failover sql server (programming, UDL)
- Prev by Date: how to failover sql server (programming, UDL)
- Next by Date: Re: Can't connect to SSL SOAP endpoint
- Previous by thread: how to failover sql server (programming, UDL)
- Index(es):
Relevant Pages
|
Loading