Forum Discussion
Jonathan_Chong_
Nimbostratus
Jan 25, 2007Load Balance and persistence
Can load balance and persistence co-existed in F5 where requests are coming from proxy servers?
So far I had tried these:
1:
- 'enable' the "Insert Xforward For"
- Set pool as round robin
- Set persistence as "destination address" or "source address"
- inserted this irule:
when HTTP_REQUEST {
persist uie [HTTP::header "X-FORWARDED-FOR"]
}
Result 1:
- Sticky persistence OK
- Not Load balancing. All requests go to one Web server
2:
- DISable the "Insert Xforward For"
- Set pool as round robin
- Set persistence as "destination address" or "source address"
- inserted this irule:
when HTTP_REQUEST {
persist uie [HTTP::header "X-FORWARDED-FOR"]
}
Result 2:
- Sticky persistence NOT working.
- Load balancing OK
If answer is yes, appreciate you could provide references.
Thank you.
1 Reply
- Jonathan_Chong_
Nimbostratus
Load balance based on client's IP would be good for us based on the irule below:
when HTTP_REQUEST {
persist uie [HTTP::header "X-FORWARDED-FOR"]
}
However, subsequent request does not persist on the same Web server which causes session sticky problem after few minutes. I had session time out set on Universal persistence to 45 minutes.
- I had also set Tcp idle time to higher value (default 300 seconds) but it stil does not persist.
Any clue why?
Thanks in advance.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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