Forum Discussion

lowa_324035's avatar
lowa_324035
Icon for Nimbostratus rankNimbostratus
Jun 15, 2017

Maintenance mode: sticky HTTP sessions

I'm load-balancing an Web application on two nodes. I would like to "Disable" one poll member for maintenance in a way that the http sessions with persistence (i.e. with a session cookie) would still remain enabled. I'm therefore not speaking about the http connections that remained open in a Keep-Alive fassion, but rather session cookie associations between a client and a node.

 

Can I do that?

 

  • Take a look at K13310.

     

    If you disable a pool member, it will allow existing connections and persistent sessions to continue. New sessions that do not have a persistence record will not be balanced to that member.

     

    You can either disable the pool member manually (per the Knowledge article), or configure your pool monitor with a recv-disable string and modifying the monitored file appropriately. (Advantage here is allowing the web server administrator to disable pool members when they need to perform maintenance, without having to contact the BIG-IP administrator to do it manually.)