Forum Discussion

Sekhar's avatar
Sekhar
Icon for Nimbostratus rankNimbostratus
Mar 11, 2015

Persistence - How does it work.

Hi,

 

I have a VIP enabled with Cookie as default persistence and source_addr as fallback persistence. How does it work when a client makes a request on one of the servers from the pool?

 

Thanks,

 

Sekhar

 

6 Replies

  • cookie and source persistence record both are created on the first request/response. subsequent requests with cookie will be sent to pool member which is encoded in the cookie value. if cookie is not presented in the request, it will be sent to pool member based on persistence record.

     

    hope this helps.

     

    • Sekhar's avatar
      Sekhar
      Icon for Nimbostratus rankNimbostratus
      Thanks, nitass.. It cleared my doubt. But how can we determine if cookie persistence is working for a particular VIP. Coz one of my pool member is receiving more traffic than the other. Thanks, Sekhar
  • cookie and source persistence record both are created on the first request/response. subsequent requests with cookie will be sent to pool member which is encoded in the cookie value. if cookie is not presented in the request, it will be sent to pool member based on persistence record.

     

    hope this helps.

     

    • Sekhar's avatar
      Sekhar
      Icon for Nimbostratus rankNimbostratus
      Thanks, nitass.. It cleared my doubt. But how can we determine if cookie persistence is working for a particular VIP. Coz one of my pool member is receiving more traffic than the other. Thanks, Sekhar
  • But how can we determine if cookie persistence is working for a particular VIP.

     

    if you run tcpdump on bigip, you could see bigip sending request with same cookie value to same pool member.

     

  • Sekhar's avatar
    Sekhar
    Icon for Nimbostratus rankNimbostratus

    Hi nitaas,

     

    I can see cookies are being sent with same value to the same pool member. I have used F5 cookie decipher tool and httpfox to capture the cookies and I can see requests are going to same server every time.

     

    Thanks, Sekhar