Forum Discussion

Ray_Ebersole_13's avatar
Ray_Ebersole_13
Icon for Nimbostratus rankNimbostratus
Mar 30, 2015

Session Cookie Persistence with Group Priority Problem

Hi,

 

I am using session cookie persistence for a VIP and have Group Priority set for less than 1 member for the application members in priority 4 group and a Maintenance/Error page in priority 1 group. When I force the application members out of the pool or they go offline the Error page is displayed to the end users. That piece works very well.

 

What isn't working is when the application members come back online, anyone that has he gotten the error page and has not closed their browser or cleared their cache will continue to get that error page. Anyone that did not hit the page during the outage will get the application as it should be. I know I can set the session cookie to expire to any time frame, but there has to be a better way. I can't tell 45,000 users to clear their cache all the time.

 

Thanks....Ray

 

2 Replies

  • Hi Ray,

    how about using two pools (one containing the application servers, second one with sorry server)?

    The iRule decides which pool to pick.

    In case of selecting the pool with the sorry server the persistence will be turned off.
    when CLIENT_ACCEPTED {
      if {[active_members pool_web_app] > 0} {
        pool pool_web_app
      } else {
        persist none
        pool pool_sorry_server
      }
    }
    

    Thanks, Stephan