Forum Discussion
ucgwebmaster_95
Nimbostratus
Jul 15, 2009Enable window services with an Irule
I have an Apache/Resin Web server configuration on 2 machines behind one pool. One of the nodes has the resin web server service turned off which then causes the monitor to fail. We are using priority group activation and if the one member goes offline, no traffic will be sent to the other member.
This may not be a task for an Irule but is there anyway to check whether a windows service is running and if not, enable it before sending traffic?
4 Replies
- hoolio
Cirrostratus
Not easily from an iRule. I would think you would do better to run a script on the pool member itself to restart the service if/when it dies. You could then use monitors on LTM to know when the pool member is ready to accept requests. - Colin_Walker_12Historic F5 AccountAaron's right. Interacting with a server to turn services on and off isn't something you'd do via iRules.
- JRahm
Admin
Detailed write up on windows service monitoring: http://links.f5.com/gqVlUe Click Here - nitass
Employee
The link is directed to the home page. Is it still valid? I need a solution for Windows 2008 Terminal Services monitor which checks the RDP service itself.
i think it is this one.
Monitoring Windows Services from BIG-IP by Jason Rahm
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects