Forum Discussion
AlexS_yb
Aug 28, 2021Cirrocumulus
My stick session
Hi The system has multiple tomcat stype containers, they provide a JSESSIONID and we append a node id to the end so we have a JSESSION id that looks like JSESSIONID=83987345.nodeX wher...
Sep 03, 2021
Hello Alex.
You could configure an iRule that routes traffic base on the "nodeX" value of the JSESSIONID cookie, checking first if this specific member is UP using "active_members" command.
https://clouddocs.f5.com/api/irules/active_members.html
Config details.
- Create an iRule
- create a generic pool with all members
- create specific pools with only one member (let say, node1, node2, ...)
iRules steps:
- Get the "nodeX" value.
- if "[active_members pool_nodeX] == 0" use generic pool
- if "[active_members pool_nodeX] > 0" use specific pool (pool_nodeX)
Hope this helps you.
Regards,
Dario.
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