I have a requirement for a v9.2.3 Link Controller (no L7 iRules or HTTP redirect within the http profile) to be able to redirect to a holding page when all pool members are down.
Below is the iRule I have written, however, the BIG-IP resets the connection and the redirect is never acheived. Is it possible to construct a successful http redirect at layer 4?
The problem is that the units are only running LC and not the full LTM software. The fallback host used to be available in ver 4.5 LC but seems to have disapeared in version 9.
In the wideip conf page there is an option to use fallback IP but this does not work for us as we need to use a FQDN, as the server we are falling back to hosts multiple sites and relies on host headers. If you enter the FQDN as the fallback IP it gets resolved to the server IP and we get redirected to the incorrect page.
I has some more time today to debug my iRule. It turns out that spaces are critical in the tcp response if it is to be interpreted as an http response. The working iRule is: