Forum Discussion

vvskaladhar_488's avatar
vvskaladhar_488
Icon for Nimbostratus rankNimbostratus
Sep 26, 2017

Question related to persistence

HI All,

 

I have quick question. I am using Cookie and source_address as fall back persistence ? Can you please clarify below ? I have port 80 to 443 redirection on the VIP with SSL offload. in Cookie persistence i am using cookie insert mode.

 

•When would source_address persistence (the fallback persistence profile) be used in lieu of the default cookie persistence profile? •From my understanding, with cookie persistence, the F5 creates the cookie on the client machine. Where would we be able to find that cookie on a user’s machine to verify it’s successfully being created?

 

2 Replies

  • Let me just explain how it works :

     

    • First request: When a client make a request for the first time to the VS, the BIG IP system forward the to the selected pool member based on the LB method used.

    When you have both cookie and source-addr configured the system will make both:

     

    a) insert the cookie into the http response of the server

     

    b) update its peristence table with the information (example sourceIP-A node-1)

     

    • Second request:

    A) When a client make this request it will send the cookie within the HTTP header... the BIG IP receives it and can read it to know to which pool member it must send the traffic

     

    B) If for some reason (client does not support cookie or cache was purged) the client sends the request without the cookie, the BIG IP uses the fallback method and read the persistance table to find that "sourceA must go to node1"

     

    Hope it helps

     

    Regards