Cookie persistance problem - v11.5.0 HF3
Hi all, i have defined cookie persistence, attached it to VIP as Default persistence Profile (with OneConnect Profile enabled). Ten i have created iRule to read how the cookies are processed and if the nodes are selected correctly. log local0. "debug: Client [IP::client_addr]:[TCP::client_port] -> [HTTP::host][HTTP::uri]; sessionId=[HTTP::cookie "sessionId"] host=[LB::server name]"
At the beginning it works ok, but after some time it looks like the node is changing (there are 2 nodes in the pool). So for example, at the beginning the logs say that node A has been chosen but after some time the same cookie has been redirected to node B and back to node A. And so on. What worst, after some longer time the [LB::server name] parameter is returning 0 instead of some host IP, and forwards the request to both nodes. Any clue where to look for the error ? Am i debugging it correctly ? Am i missing something ? Many thanks for any help with this