Forum Discussion

prasaath_d's avatar
prasaath_d
Icon for Nimbostratus rankNimbostratus
Sep 10, 2019

Irule for Maintenance Page if working

Hi Team ,

 

we have recently configured the irule for mainenance page which is directly pointing to maintenance pool .

 

Currently it is not working .

 

Kindly find the below irule details which we have configured.

 

when LB_FAILED { if { [active_members UAT_BOS_AXISCONNECT-UAT1_https_Pool] <1 } 

{ use pool Axisconnect_Redirect_SplashPage }}

 

Application URL :

 

https://axisconnect-uat1.axiscapital.com

 

Maintenance Page URL :-

 

http://serveriP:444

 

thanks

Prasaath D

2 Replies

  • when LB_FAILED {
      if {[active_members UAT_BOS_AXISCONNECT-UAT1_https_Pool] <1} {
        pool Axisconnect_Redirect_SplashPage
        LB::reselect
      }
    }

    You may need to trigger an `LB::reselect` as the pool command does not do that automatically in the LB_FAILED event.