dbTalk Databases Forums  

Scripts for failover clustering.

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


Discuss Scripts for failover clustering. in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mohd via SQLMonster.com
 
Posts: n/a

Default Scripts for failover clustering. - 06-08-2005 , 05:21 AM






Hi all,

Need u guys help again. I have 2 nodes running sql in the company. My
question is there any way that i could create a script such that the
primary node will failover to the secondary node at a certain day and time
that i specified in the scripts so that i can do maintenance on the primary
node.

Do u guys have any scripts that can do that?

Appreciate u guys input. U guys have been helpful.

Tks

Mohd

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #2  
Old   
Charles Tolento
 
Posts: n/a

Default RE: Scripts for failover clustering. - 06-08-2005 , 07:34 AM






Mohd

Yes you can use cluster.exe utility to perform that operation. You would
just have to schedule the task to run at a certain time

cluster.exe <clustername> group "my group name" /moveto:<node name>

For example if I was moving my SQL Group to Node2, with the

cluster name MSCS the command would be:

cluster.exe MSCS group "Sql Group" /moveto:Node2

You would create a line like above for each group in your cluster

Regards

CT


"Mohd via SQLMonster.com" wrote:

Quote:
Hi all,

Need u guys help again. I have 2 nodes running sql in the company. My
question is there any way that i could create a script such that the
primary node will failover to the secondary node at a certain day and time
that i specified in the scripts so that i can do maintenance on the primary
node.

Do u guys have any scripts that can do that?

Appreciate u guys input. U guys have been helpful.

Tks

Mohd

--
Message posted via http://www.sqlmonster.com


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.