Forum Discussion
Monitor receive disable and persistence
Now the customer complains about persistent connections still being directed to the disabled node (which is obviously right).
I thought about an iRule like this:
when LB_SELECTED {
But I'm unsure whether the LB::reselect will work for persistent connections and select a non-disabled pool member.
Any hints / comments on this?
Many thanks in advance.
- Martin_Kaiser_1NimbostratusHi Michael,
thanks for your reply and sorry for my late feedback!
I'm aware of how monitoring works, but the customer is a bit difficult and insists on not changing the monitoring as it is today, thus we need to solve this using an irule.
As I already suspected, the LB::reselect command does indeed run into the same issue, meaning it will look for a persistence entry and then make the load balancing decision based on that (which is exactly what we do not want).
I will give this one a try:
when LB_SELECTED {if { [LB::status pool poolname member [LB::server addr] port [LB::server port]] eq "session_disabled" } {persist noneLB::reselect}}GreetingsMartin
Recent Discussions
Related Content
* 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