Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Post Failover tasks 1

Status
Not open for further replies.

pperine

MIS
Jun 5, 2007
3
AU
I'm trying to find a solution that will restart a service after a cluster failover event.
I have a two node 2003 Active/Active file server cluster that needs to restart a service after resources have been failed over.
I have made the service a resource which starts the service on failover, but does not restart the service as it is already running.
I have also looked at making a generic script as well to restart the service, but that has been unsecessful as well.

Does anyone have any ideas?


Regards


Paul Perine
 
In 2003, in the services applet, you can configure restarts. On the properties of the service, recovery tab.

 
Hi xmsre,

Yes this is right, but recovery will only restart the service if it dies. It will not restart a service that has been manually stopped.

This service is running on both nodes and after a failover of disk resources, the service needs to be restarted due to the new disks that are presented.

I have tested on a test cluster that if the service is already running, it will not restart it as part of the failover. I need to make this restart happen somehow.
 
You should be able to setup a generic script which stops the service. Setup the regular service to be dependant on this script.

Will that work?

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Hi Paul,

you can use in your script the tool eventriggers.exe that comes with xp and 2003.After the event is registered the tool will trigger what ever you want.

Kind regards,
Cengiz Kuskaya
 
I have maked a grammar failure.Eventtriggers.exe with double "t".

Kind regards,
Cengiz Kuskaya
 
Thanks Kuskaya,

I think this will do it.

Regards

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top