dbTalk Databases Forums  

What happens to application during failover?

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss What happens to application during failover? in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
 
Posts: n/a

Default What happens to application during failover? - 08-06-2004 , 12:46 PM






Hi,

Our customer has is runnning SQL server standard and they
have clients that access the database.

We are moving them to SQL Server Enterprise in an
Active/Passive configuration.

My questions is what happens when the application connects
to the database, it starts doing a series of reads, and a
failure happens on the Active server in the cluster?

Will the client application have to be re-written in any
way to handle this failover? Will the application have
to "re-connect" to the database? Or will the failover be
transparent to the client application? How long will the
failover take?

Thanks,
Todd

Reply With Quote
  #2  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: What happens to application during failover? - 08-06-2004 , 01:15 PM






A Cluster SQL failover looks exactly like the SQL server stopped and
restarted from the client's viewpoint. All connections will have to be
reestablished and any pending actions will need to be reissued.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com

I support the Professional Association for SQL Server
www.sqlpass.org

<anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

Our customer has is runnning SQL server standard and they
have clients that access the database.

We are moving them to SQL Server Enterprise in an
Active/Passive configuration.

My questions is what happens when the application connects
to the database, it starts doing a series of reads, and a
failure happens on the Active server in the cluster?

Will the client application have to be re-written in any
way to handle this failover? Will the application have
to "re-connect" to the database? Or will the failover be
transparent to the client application? How long will the
failover take?

Thanks,
Todd



Reply With Quote
  #3  
Old   
 
Posts: n/a

Default Re: What happens to application during failover? - 08-06-2004 , 01:35 PM



Thanks Geoff. Approximately, how long does the failover
take?
Quote:
-----Original Message-----
A Cluster SQL failover looks exactly like the SQL server
stopped and
restarted from the client's viewpoint. All connections
will have to be
reestablished and any pending actions will need to be
reissued.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com

I support the Professional Association for SQL Server
www.sqlpass.org

anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:181d01c47bdd$59332750$a401280a (AT) phx (DOT) gbl...
Hi,

Our customer has is runnning SQL server standard and
they
have clients that access the database.

We are moving them to SQL Server Enterprise in an
Active/Passive configuration.

My questions is what happens when the application
connects
to the database, it starts doing a series of reads, and
a
failure happens on the Active server in the cluster?

Will the client application have to be re-written in any
way to handle this failover? Will the application have
to "re-connect" to the database? Or will the failover be
transparent to the client application? How long will the
failover take?

Thanks,
Todd


.


Reply With Quote
  #4  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: What happens to application during failover? - 08-06-2004 , 02:37 PM



That depends on several things such as the hardware, how many db's you have
and how many transactions need to be rolled forward or back. It could be 20
or 30 seconds or it could be minutes. That is something you need to test
and plan for.

--
Andrew J. Kelly SQL MVP


<anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thanks Geoff. Approximately, how long does the failover
take?
-----Original Message-----
A Cluster SQL failover looks exactly like the SQL server
stopped and
restarted from the client's viewpoint. All connections
will have to be
reestablished and any pending actions will need to be
reissued.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com

I support the Professional Association for SQL Server
www.sqlpass.org

anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:181d01c47bdd$59332750$a401280a (AT) phx (DOT) gbl...
Hi,

Our customer has is runnning SQL server standard and
they
have clients that access the database.

We are moving them to SQL Server Enterprise in an
Active/Passive configuration.

My questions is what happens when the application
connects
to the database, it starts doing a series of reads, and
a
failure happens on the Active server in the cluster?

Will the client application have to be re-written in any
way to handle this failover? Will the application have
to "re-connect" to the database? Or will the failover be
transparent to the client application? How long will the
failover take?

Thanks,
Todd


.




Reply With Quote
  #5  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: What happens to application during failover? - 08-06-2004 , 02:40 PM



It depends. Hardware, memory size, how long an outstanding transaction has
been running, number and size of databases, recovery interval setting, and
reason for crashing all have an impact. As a general rule, figure out how
long your stand-alone system takes to shutdown and restart the SQL service
and add 30 seconds.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com

I support the Professional Association for SQL Server
www.sqlpass.org

<anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thanks Geoff. Approximately, how long does the failover
take?
-----Original Message-----
A Cluster SQL failover looks exactly like the SQL server
stopped and
restarted from the client's viewpoint. All connections
will have to be
reestablished and any pending actions will need to be
reissued.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com

I support the Professional Association for SQL Server
www.sqlpass.org

anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:181d01c47bdd$59332750$a401280a (AT) phx (DOT) gbl...
Hi,

Our customer has is runnning SQL server standard and
they
have clients that access the database.

We are moving them to SQL Server Enterprise in an
Active/Passive configuration.

My questions is what happens when the application
connects
to the database, it starts doing a series of reads, and
a
failure happens on the Active server in the cluster?

Will the client application have to be re-written in any
way to handle this failover? Will the application have
to "re-connect" to the database? Or will the failover be
transparent to the client application? How long will the
failover take?

Thanks,
Todd


.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.