Forum Discussion
iRule Help for Web front end and Backend Database server traffic to failover at same time
Daniel,
Actually another question. What if wanted to put a thresold for this. Example if the Web01 is down but we don't want to it to failover till maybe 10 minutes later? In the case we can resolve the issue before fully failing over.
bob3 I believe the only option you have for that is to increase the interval and timeout of the health monitor to accomodate a 10 minute failover. Is this because you expect the server to come back online with a 10 minute window if it does fail a health monitor?
- bob3Mar 16, 2023Altocumulus
Paulius,
Yes. We are trying to iron out the logistics on the timing and comfortablity of the SLA in an on and off hour scenario. During the day we have staff that can monitor the web and database servers in which may require a simple reboot to fix and get everything back up and running, whereas in a off hour scearnio we would want it to failover almost immediatetly and troubleshoot when we have the proper resources online.
Is there a way to have almost a time frame when either the on or off hour scenarios could occur. Say from 8 am to 5 pm the 10 minute wait applies, and from 5 pm to 8 am the automatically failover occurs?
- PauliusMar 16, 2023MVP
bob3 I'm not aware of a way to make the health monitor depending on time of day but I'm sure you could make this work in some form using an iRule but not with normal health monitors. The safest bet here would be to failover without waiting any additional time and if you can fix the server that's great but allow the F5 to balance traffic to the new destiantion in order to reduce overall downtime to your site.
- bob3Mar 16, 2023Altocumulus
Thank you for all your input.
Recent Discussions
Related Content
* 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