Persistence mode shows source address affinity although virtual server is set to use cookie persistence
Hi all,
I have trouble understanding cookie persistence on our Big-IP LTM devices. I have setup a virtual server with a 'default persistence profile' set to 'cookie' and a 'fallback persistence profile' set to 'source_addr'.
In a browser, I do see the load balancing cookie being created with name 'BIGipServer'.
I also see the cookie being logged when setting up logging via an iRule like this:
foreach cookie [HTTP::cookie names] {
log local0. "Cookie name: $cookie, Cookie value: [HTTP::cookie value $cookie]"
}
In the ltm logging the cookie is logged correctly with name 'BIGipServer' and the same value the cookie has in my browser session.
The value of the cookie is the IP address of the pool member my session is sent to.
Now, when I look at the persistence records on the Big-IP LTM, it shows me:
source-address
Where the is the pool members that is also present in the cookie.
But the remaining question is why is the affinity method 'source-address' although I explicitly set 'cookie'?
Also if I remove the 'fallback persistence profile' of 'source_addr' in the virtual server, the method shown in the persistence table will still be 'source-address'.
Can anyone shed some light on this?
Thanks!