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.