IT
Aug 22, 2019Nimbostratus
Maintenance page won't show
Hello,
I have an issue while setting an irule to show a maintenance page, here is the irule:
when HTTP_REQUEST {
if { [active_members [LB::server pool]] < 0 } {
HTTP::respond 503 content [ifile get "Maintenance"]}
}
I think the problem is coming from the multiple irules in my VS, I have 20 differents pools included in different irules.
The irule above is working where I have only 1 pool which is set by default and 1 irule.
The test I made is to disable 1 pool in one of my irules to show this "Maintenance" page but it didn't work, which is expected because the pool I disable was not the default pool.
So how do I make a global irule to show my maintenance page when any of my pool included in my irules is down ? Or do I have to modify every irules with pool redirection ?
Thank you.
ps: I have bigIP 14.1.0.2.