dbTalk Databases Forums  

.NET /script/T-SQL Code to deliberately cause Cluster Failover

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


Discuss .NET /script/T-SQL Code to deliberately cause Cluster Failover in the microsoft.public.sqlserver.clustering forum.



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

Default .NET /script/T-SQL Code to deliberately cause Cluster Failover - 03-01-2005 , 12:31 PM






I'm looking for help in locating a script that would allow deliberately
causing a cluster to failover. (For demonstration and testing purposes.)

And ideas or suggestions would be appreciated.

Thanks,

Arnie Rowland




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

Default Re: .NET /script/T-SQL Code to deliberately cause Cluster Failover - 03-01-2005 , 01:04 PM






You can use the CLUSTER.EXE command from the command line prompt to force a
failure. Look up Cluster.exe in the on-line help files for Windows Server.
Everything you can do from the GUI, you can do from the command-line.
Example:

Cluster MyClusterName resource MYSQLCluster Resource /fail

Will cause the specific resource to fail. You can then watch how the
cluster reacts.

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

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

"Arnie Rowland" <arnie (AT) 1568 (DOT) com> wrote

Quote:
I'm looking for help in locating a script that would allow deliberately
causing a cluster to failover. (For demonstration and testing purposes.)

And ideas or suggestions would be appreciated.

Thanks,

Arnie Rowland






Reply With Quote
  #3  
Old   
Arnie Rowland
 
Posts: n/a

Default Re: .NET /script/T-SQL Code to deliberately cause Cluster Failover - 03-01-2005 , 01:07 PM



Thanks Geoff,

I forget that it was also command line! Du-oh...

-Arnie


"Geoff N. Hiten" <SQLCraftsman (AT) gmail (DOT) com> wrote

Quote:
You can use the CLUSTER.EXE command from the command line prompt to force
a
failure. Look up Cluster.exe in the on-line help files for Windows
Server.
Everything you can do from the GUI, you can do from the command-line.
Example:

Cluster MyClusterName resource MYSQLCluster Resource /fail

Will cause the specific resource to fail. You can then watch how the
cluster reacts.

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

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

"Arnie Rowland" <arnie (AT) 1568 (DOT) com> wrote in message
news:uyoFczoHFHA.1528 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I'm looking for help in locating a script that would allow deliberately
causing a cluster to failover. (For demonstration and testing purposes.)

And ideas or suggestions would be appreciated.

Thanks,

Arnie Rowland








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

Default Re: .NET /script/T-SQL Code to deliberately cause Cluster Failover - 03-01-2005 , 01:11 PM



That's OK. I goofed up the example and put RESOURCE in there twice. I
should know better than to answer posts right after lunch.

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

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

"Arnie Rowland" <arnie (AT) 1568 (DOT) com> wrote

Quote:
Thanks Geoff,

I forget that it was also command line! Du-oh...

-Arnie


"Geoff N. Hiten" <SQLCraftsman (AT) gmail (DOT) com> wrote in message
news:#7m#$FpHFHA.1172 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
You can use the CLUSTER.EXE command from the command line prompt to
force
a
failure. Look up Cluster.exe in the on-line help files for Windows
Server.
Everything you can do from the GUI, you can do from the command-line.
Example:

Cluster MyClusterName resource MYSQLCluster Resource /fail

Will cause the specific resource to fail. You can then watch how the
cluster reacts.

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

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

"Arnie Rowland" <arnie (AT) 1568 (DOT) com> wrote in message
news:uyoFczoHFHA.1528 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I'm looking for help in locating a script that would allow
deliberately
causing a cluster to failover. (For demonstration and testing
purposes.)

And ideas or suggestions would be appreciated.

Thanks,

Arnie Rowland










Reply With Quote
  #5  
Old   
Arnie Rowland
 
Posts: n/a

Default Re: .NET /script/T-SQL Code to deliberately cause Cluster Failover - 03-01-2005 , 01:26 PM



Yeah, I caught that part. ;-)


"Geoff N. Hiten" <SQLCraftsman (AT) gmail (DOT) com> wrote

Quote:
That's OK. I goofed up the example and put RESOURCE in there twice. I
should know better than to answer posts right after lunch.

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

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

"Arnie Rowland" <arnie (AT) 1568 (DOT) com> wrote in message
news:OBwY0HpHFHA.3612 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Thanks Geoff,

I forget that it was also command line! Du-oh...

-Arnie


"Geoff N. Hiten" <SQLCraftsman (AT) gmail (DOT) com> wrote in message
news:#7m#$FpHFHA.1172 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
You can use the CLUSTER.EXE command from the command line prompt to
force
a
failure. Look up Cluster.exe in the on-line help files for Windows
Server.
Everything you can do from the GUI, you can do from the command-line.
Example:

Cluster MyClusterName resource MYSQLCluster Resource /fail

Will cause the specific resource to fail. You can then watch how the
cluster reacts.

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

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

"Arnie Rowland" <arnie (AT) 1568 (DOT) com> wrote in message
news:uyoFczoHFHA.1528 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
I'm looking for help in locating a script that would allow
deliberately
causing a cluster to failover. (For demonstration and testing
purposes.)

And ideas or suggestions would be appreciated.

Thanks,

Arnie Rowland












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.