Forum Discussion
jkstraw_44238
Nimbostratus
Oct 09, 2007redirect to maint. page
Hello,
I have read a number of posts on how this can be done based on a pool being down but I think my situation/requirement may be unique.
We are running a JBoss/Tomcat webapp where there are...
Deb_Allen_18
Oct 09, 2007Historic F5 Account
If the web app is "not deployed", I'm going to go out on a limb & assume that the webserver is not serving the expected content (hence the reference to 404's while in that state).
If that's the case, all you'd need to do would be to configure an HTTP monitor against the webservers that requests a specific page and looks for a specific string on that page. The optimal monitor would request a page that runs a dynamic query against the app, which will result in the expected string NOT being returned when the app is un-deployed, thus the affected pool members would be marked DOWN and no traffic would be LB to them.
Then you'd also configure a fallback host in the HTTP profile. The value of the Fallback host field would be the fully qualified URL of the maintenance page to which you want to redirect users when all the servers are marked DOWN by this monitor.
(No iRule required. Simpler is usually better.)
HTH
/deb
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
