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.
- Jonathan_Chong_
Nimbostratus
Load balance based on client's IP would be good for us based on the irule below:
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