Forum Discussion

John_43161's avatar
John_43161
Icon for Nimbostratus rankNimbostratus
Sep 18, 2009

maintenance and error pages

Hello!

 

I am posting to find out if there was some standard way, or best practice for handling down pools.

 

What I would like to do is if I take a pool/node down forward the user to some "Under Contruction" or some page indicating that the site is being worked on, or in the case of a node failing and error saying the site is currently unavailable or what have you.

 

Not sure there is some built in way to do that, that might give you the ability to check the status of a pool in an irule and then if not active forward them to a page. I am sure I could figure some way to do this, just wanted to know if there is a best practice among the community.

 

Thanks!

 

John
  • Hi John,

     

    There are several ways to approach this.

     

     

    1) The simplest is through the HTTP Profile that you would assigned a virtual server that contains the pools. There is a specific setting called fallback host where you can define the link when serverside connection fails regardless of the health of the pool.

     

     

    2) Another method is to apply a iRule that basically does the same action as fallback but under specific conditions such as the health of the pool and not a serverside connection failure.

     

     

    3) Third way is to put up a iRule that allows you to throw up a "Undersconstruction" page based on maintenance. You can find several examples contained with this sites samples page

     

     

    Here specific ones:

     

    Click here, Click here, and Click here

     

     

    Hope this helps

     

    CB

     

  • This is great, exactly what I was looking for. Thank You much!

     

     

    John