We have a HTTPS Virtual Server configured on the LTM with four web servers in the pool. The certificate is installed on the F5 (SSL Client profile). We have a requirement to redirect users to a maintenance page when all the web servers are down (web servers are monitored using a monitor at the pool level). I was looking at irules to accomplish this.
To test it, I applied the irule to the Virtual server and manually disabled all the servers in the pool. As expected the web requests were redirected to the maintenance website. However when I enabled one of the web servers and tried to access the website it does not come up, it just shows me a blank screen with a status saying its trying to connect…
That rule appears to let the pool members do the decryption unless they’re down in which case LTM will do the decryption and then send the user to the maintenance page.
It sounds like you’re simply trying to redirect users to the maint page if the pool members are down. Is that correct?
That iRule was designed to only decrypt the SSL if no pool members were available. To get the functionality you’re looking for, you should be able to use the fallback host field on an HTTP profile without an iRule.