How to customize Windows Failover clustering to trigger on failure of custom window service?

Posted by melaos on Server Fault See other posts from Server Fault or by melaos
Published on 2012-11-20T01:57:05Z Indexed on 2012/11/20 5:01 UTC
Read the original article Hit count: 517

i'm a total newbie on windows failover clustering.

and what i want to do now is to setup the FC (failover clustering) on two win 2008 R2 server.

and right now i have my custom window service running on both machine.

But they cannot run concurrently as it will mess up the DB, thus i just want one to be available at all time (high availability).

so i'm wondering if there's any way to set the failover policy to include this custom window service that i've installed on these machines so that if this service goes down or die, then it will automatically trigger the failover to the second node.

  1. is this possible?
  2. or must it be done programatically?
  3. and if so what is the best way?

thanks ~m

© Server Fault or respective owner

Related posts about windows-server-2008-r2

Related posts about failovercluster