Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Failover test case

 
   Database Forums (Home) -> Clustering RSS
Next:  SQL 2005 OSQL qestion on Microsoft cluster  
Author Message
jinshuang

External


Since: Jan 07, 2008
Posts: 3



(Msg. 1) Posted: Tue Feb 12, 2008 2:57 pm
Post subject: Failover test case
Archived from groups: microsoft>public>sqlserver>clustering (more info?)

I am new both for cluster and SQL, and I have built a new two nodes SQL
cluster. For testing failover, I am planing to write a long sql script and
have a client excute and write data in. During the writing, I am going to
take off network or power from node 1. can I expect the script would finish
properly since SQL failover to node 2?

 >> Stay informed about: Failover test case 
Back to top
Login to vote
Jason Massie

External


Since: Nov 27, 2007
Posts: 15



(Msg. 2) Posted: Tue Feb 12, 2008 5:02 pm
Post subject: Re: Failover test case [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

No, it will behave just like SQL restarting.

--
Jason Massie
Web: http://statisticsio.com
RSS: http://feeds.feedburner.com/statisticsio

"jinshuang" wrote in message

>I am new both for cluster and SQL, and I have built a new two nodes SQL
> cluster. For testing failover, I am planing to write a long sql script and
> have a client excute and write data in. During the writing, I am going to
> take off network or power from node 1. can I expect the script would
> finish
> properly since SQL failover to node 2?

 >> Stay informed about: Failover test case 
Back to top
Login to vote
Linchi Shea

External


Since: Mar 03, 2006
Posts: 234



(Msg. 3) Posted: Tue Feb 12, 2008 8:31 pm
Post subject: RE: Failover test case [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In addition to what Jason said, if it's a strict T-SQL script, it'll just
stop where the node crashes. For the failover to be 'transparent' to the
client, the client must have error handling logic to re-establish the
connection and re-submit the query/transaction that is aborted. Also, as is
the case with a restart, any in-flight transaction (i.e. uncommitted
transaction) is lost and will be rolled back when the instance starts up on
the other node.

Linchi

"jinshuang" wrote:

> I am new both for cluster and SQL, and I have built a new two nodes SQL
> cluster. For testing failover, I am planing to write a long sql script and
> have a client excute and write data in. During the writing, I am going to
> take off network or power from node 1. can I expect the script would finish
> properly since SQL failover to node 2?
 >> Stay informed about: Failover test case 
Back to top
Login to vote
Matthew White

External


Since: Feb 14, 2008
Posts: 1



(Msg. 4) Posted: Thu Feb 14, 2008 7:25 am
Post subject: RE: Failover test case [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I too am looking to test a 2 node SQL cluster. I am new to SQL as well.
I've built the cluster and am ready to test. I realize that when node 1 goes
down, the current SQL connection will drop, but I need to test being able to
connect again, add something to the DB, fail the second node, connect again,
make sure the records have been added, etc. Can someone offer any good ways
to test this? I need to migrate to this cluster in 9 days and need to get it
properly tested.

Thanks so much for any input.

Regards,

Matthew White

"Linchi Shea" wrote:

> In addition to what Jason said, if it's a strict T-SQL script, it'll just
> stop where the node crashes. For the failover to be 'transparent' to the
> client, the client must have error handling logic to re-establish the
> connection and re-submit the query/transaction that is aborted. Also, as is
> the case with a restart, any in-flight transaction (i.e. uncommitted
> transaction) is lost and will be rolled back when the instance starts up on
> the other node.
>
> Linchi
>
> "jinshuang" wrote:
>
> > I am new both for cluster and SQL, and I have built a new two nodes SQL
> > cluster. For testing failover, I am planing to write a long sql script and
> > have a client excute and write data in. During the writing, I am going to
> > take off network or power from node 1. can I expect the script would finish
> > properly since SQL failover to node 2?
 >> Stay informed about: Failover test case 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SQL Cluster Failover Notifications - Hello, We have a 2 node active/passive SQL 2005 cluster and were wondering if anyone knows if there is a solution which would allow someone to be notified automatically should the active node failover to the passive node? Maybe an email being sent? ...

Single Database Failover - Is it possible to set up SQL Server clustering so that only one database would failover or is it an all or nothing type thing.

New to Clustoring/Failover Questions - Simply put we have a Single SQL 2005 server running our applications. This server runs great, low load, databases under 200 meg mostly, maybe 2 gig of total data. We do backup via NetVault to tape everynight. What we want though, is a SECOND,..

Mirroring Failover/Failback - I have been using Mirroring now for a while and put the system into production now after applying SQL sp 1. We have a setup with a witness, principal and mirror with certificates (the witness is on a webserver in a different domain, so we can't use..

Demonstration of Failover Capabilities - I'd like to find a program that clearly demonstrates how SQL 2005 failover works (flawlessly). This application would be used to show that a failure can occur and users are not impacted by that failure. This program would: 1) execute a datareader to...
   Database Forums (Home) -> Clustering All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]