Forum Discussion
smp_86112
Cirrostratus
Jan 15, 2010Persistent Connection Forwarded to Wrong Pool Member
v9.3.1HF8
(I haven't really studied this behavior closely before, so please go light on me.)
It seems we have identified an issue where HTTP clients with a BigIP Cookie are being forwarded to the wrong pool member. Upon review of the logs, we see the same BigIP cookie header value on both pool members. The clients are behind a proxy server, so we suspect that multiple client sessions are being pipelined into a single TCP session between the LTM and the proxy. The VIP is pretty vanilla, and so is the persistence profile which I have included below for reference.
How do you troubleshoot something like this? The GUI doesn't show the persistence records, so I can't confirm from that perspective. Is there a different type of persistence I could use that would prevent this problem from happening at all? What other mitigation strategies are out there?
virtual app {
destination :80
ip protocol tcp
profile default_http tcp
persist cookie
pool app
}
profile persist cookie {
mode cookie
cookie mode insert
cookie expiration 0d
cookie hash offset 0
cookie hash length 0
cookie name none
rule none
mirror disable
timeout 0
}
pool app {
lb method member predictive
min active members 1
monitor all dtac.deere.com
member :
member :}
- Hamish
Cirrocumulus
For cookie persistence, there is no information stored on the F5 itself for the persistence (At least none that I've found, and F5 tell me this as well). The information for persistence is stored solely within the cookie. Because it's un-encrypted, you can decode the cookie and see what the value says. - hoolio
Cirrostratus
Those are good troubleshooting steps, but I think this is an expected problem. The issue occurs when multiple clients access the VIP over the same TCP connection with different persistence records. You can add a OneConnect profile to fix this: - smp_86112
Cirrostratus
I think we have verified the behavior with tcpdump and a review of the web server logs - what we were lacking is an explanation of what we were seeing. Ultimately I found SOL7964 which seems to be describing the symptoms, and also lays out the two potential F5 options we have. Thanks for the feedback.
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