Forum Discussion
Aaron_5359
Nimbostratus
Apr 01, 2008Adding wait() before restoring service
I'd like to wait x seconds after the HTTP health check succeeds before bringing the pool member(s) online.
I imagine this would require an external script?
Thanks!
Aaron
Deb_Allen_18
Apr 10, 2008Historic F5 Account
If you go the monitor route, be sure the monitor interval is long enough to accommodate the request+longest possible response time+wait time, or the pool member will never be marked UP. Interval is more important than timeout for external monitors that are expected to hang around for a while after the action is over.
Here's the relevant detail:The Timing
The interval is the amount of time that will elapse between the start of each monitor attempt. In order to avoid creating a Denial of Service situation by sending your servers excessive monitor traffic, you should increase the interval as much as possible. The interval MUST be longer that the longest possible healthy response should take, since each successive instance of the script run against a pool member will kill off any already-running previous instances, assuming they are hung and will never complete.
from this article about implementing external monitors: Click here
/d
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