Load 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.

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.