Forum Discussion

Fasih_Ahmed_135's avatar
Fasih_Ahmed_135
Icon for Nimbostratus rankNimbostratus
Nov 01, 2013

irule for maintenance page

I'm hosting a maintenance page on F5 using iFiles. I'm using an iRule that look at the pool member, and based on the logic, iRule is initiated. It works only if the pool members are down. I need an iRule that if the two hops down Apache is not responding (/home.html) then a maintenance page should execute.

 

Any help is greatly appreciate. Thanks Fasih

 

  • Scott_McCullo13's avatar
    Scott_McCullo13
    Historic F5 Account

    There is a similar question for this located here:

     

    https://devcentral.f5.com/questions/irule-for-maintenance-page

     

    • Fasih_Ahmed_135's avatar
      Fasih_Ahmed_135
      Icon for Nimbostratus rankNimbostratus
      It working fine when the pool member are done. But this rule does not work for a entire URI path. for example www.fasih.com --- works ok www.fasih.com/home.html --- this rule does not work for this. I get a server not responding error message
  • when /home.html is not responding properly, what response are you getting?

     

  • You could also create a pool for the application servers, apply an appropriate monitor, and then check the availability of this pool in your iRule. The pool wouldn't be tied to any VIP.