Forum Discussion

Richard__Harlan's avatar
Richard__Harlan
Historic F5 Account
Apr 25, 2005

Fallback Host problems

We just upgraded our old 5000 running 4.5.12 to a new 6400 running 9.0.5. We had a few problem but we have worked through most of them, exect this one. We have a fallback host set in the HTTP profile "http://siteunavailable.mysite.com/index.pl?SiteName=[HTTP::host]" Were sitename is a varable passed to the perl script that will then display a message saying the site is down. Right now we can;t get the fallback host to pass the host name. Is this something I going to have to set up with iRules, or can I still use the fall back host? Thanks
  • bl0ndie_127134's avatar
    bl0ndie_127134
    Historic F5 Account
    We don't currently allow TCL expressions in the fallback profile attribute. I think this would be a good feature to have so we will see if we can have this added to a future release.

    In the mean time, you can set the fallback host using the rule HTTP::fallback Here is an example...

    when LB_FAILED {   
             HTTP::fallback "http://siteunavailable.mysite.com/index.pl?SiteName=[HTTP::host]"   
     }   
       
  • Richard__Harlan's avatar
    Richard__Harlan
    Historic F5 Account
    So I take it I am going to have to add this rule to all my VIPs. Or is there an easy way to make this kind of global? Thanks