Forum Discussion

Ram_63318's avatar
Ram_63318
Icon for Nimbostratus rankNimbostratus
Apr 24, 2008

iRule to redirect users to an outage page when the site is down

Hello,

 

 

I was wondering if anybody out there did something similar to what I am trying to do. With the help of iRule can we redirect users to an outage page when the pool is not available? Please do let me know.

 

 

Thank you,

 

Ram

2 Replies

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    There are many, many examples of this in the forums. There are even examples of people using an iRule to serve the outage page without having to redirect, like this: Click here

     

     

    Colin
  • Hi Ram,

     

     

    Another option would be to use a fallback host on the HTTP profile.

     

     

    You can set up a health monitor for the pool, so that the pool members are marked down when they don't respond to the health check. Then configure a new HTTP profile with a URL specified in the fallback host field. Add the new HTTP profile to the VIP on the properties tab.

     

     

    Now, when the pool is marked down, client requests will be redirected to the URL you specified. For details on this, you can check the online help or the LTM config guide for your version on AskF5.com.

     

     

    Aaron