dbTalk Databases Forums  

Adding a resource (Generic Script) to the SQL Cluster

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


Discuss Adding a resource (Generic Script) to the SQL Cluster in the microsoft.public.sqlserver.clustering forum.



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

Default Adding a resource (Generic Script) to the SQL Cluster - 07-26-2004 , 12:11 PM






I would like to add a VB Script to the SQL Cluster so that
in the event of a failover the script will execute on the
new active node. The script goes out and checks for the
existance of some key files once a day.

I am running Windows 2003 SQL 2000 in an Active / Passive
configuration.

I have the VBS running every morning through task Mgr, but
I would like to get it configured to run as a clustered
resource and failover to the active node.

Thanks,

Reply With Quote
  #2  
Old   
Allan Hirt
 
Posts: n/a

Default Adding a resource (Generic Script) to the SQL Cluster - 07-27-2004 , 01:32 PM






Wouldn't it be better to write more of an agent type of
thing to do this?

What files are you checking to see are there?

Reply With Quote
  #3  
Old   
John Toner [MVP]
 
Posts: n/a

Default Re: Adding a resource (Generic Script) to the SQL Cluster - 08-02-2004 , 01:20 PM



In 2003, there is a "Generic Script" resource type that support VBS and Perl
scripts. Check out the following for more details:

http://msdn.microsoft.com/library/de...ric_script.asp

Regards,
John


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

Quote:
I would like to add a VB Script to the SQL Cluster so that
in the event of a failover the script will execute on the
new active node. The script goes out and checks for the
existance of some key files once a day.

I am running Windows 2003 SQL 2000 in an Active / Passive
configuration.

I have the VBS running every morning through task Mgr, but
I would like to get it configured to run as a clustered
resource and failover to the active node.

Thanks,



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.