Forum Discussion
bsutter_12449
Nimbostratus
Aug 03, 2009Redirect new sessions to maintenance page
We have a website that is load balanced with 2 nodes in a pool. We are looking to do some maintenance. We want to allow the current connections to continue on with their work but send any new connect...
hoolio
Cirrostratus
Aug 03, 2009I wonder if LB_FAILED is triggered when a new TCP connection is established from a client to the VIP without persistence and all nodes in the pool are disabled. This might be the easiest option (check in LB_FAILED if [active_members [LB::server pool]]==0).
If that didn't work, you could insert a session cookie or use the cookie insert persistence profile cookie to see if the client had already established a session. The downside to using a session cookie is that a new client could get sent to the pool at any time--hours or days after the cookie was set assuming the client doesn't close their browser.
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects