Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Due to a partial failure of our SAN we have switched our message queuing (Active MQ) from using network storage to using local storage. Because the secondary server is no longer sharing the same storage location as the primary, the service is shut down and must be manually started if the primary fails.

The services are running on Windows Server 2008 R2 Standard Edition. Is there any way to automatically start the service on the secondary server if the primary fails? Windows clustering appears to require Enterprise Edition and I am unable to upgrade the servers in the short term.

share|improve this question

2 Answers 2

Windows services have actions that can be configured to run a script on failure. Theoretically, you could write a script that starts the service on the other machine. However, this doesn't help if the whole machine dies.

Shared storage with iscsi is ridiculously easy to set up on any spare hardware you might have hanging around that you can install Linux or free bsd on. Even windows does iscsi sharing. Instead of reinventing the wheel, just do this.

share|improve this answer

There are many service monitoring apps like PA Server Monitor, FrameFlow and SolarWinds Orion among others that could easily monitor a service, and if it fails, start a different service.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.