Forum Discussion
annielee_13548
Nimbostratus
Jun 27, 2014Maintenance page
Hi Guys,
I'm pretty new to iRules and trying to modify an existing code to do the following :
1) if pool is down, show page down
2) if pool is on high request, show high load page..
3) both page...
Stewart
Altostratus
Jun 27, 2014Hi,
You need to do use something to define what heavy load is.
There's a good bit of code by Hoolio that sets a maximum number of connections which could be used as your heavy load threshold. You could modify this to suit your requirments.
https://devcentral.f5.com/wiki/iRules.virtual_server_connection_limit_with_HTTP_response.ashx
You could serve content from your iFiles instead of the static content in the example.
Stewart.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
