Forum Discussion

keshav_163381's avatar
keshav_163381
Icon for Nimbostratus rankNimbostratus
Oct 13, 2015

Persistence Primary Cookie and fallback source address persistence

HI All,

 

I have applied cookie based persistence and Source address as fallback persistence.Can you please tell me who does it will work? When LB will stick that user to particular pool member after Getting response back from server or before.

 

  • Cookie persistence puts the burden of session affinity on the client by sending a cookie that is encoded with the load balancing information for that user session (pool, node, port). Other persistence mechanisms, including source, create an in-memory session table entry on the BIG-IP and map some piece of unique client information (ie. the source IP) to the load balancing information. When you have both of these applied, the primary will always be used until it disappears, as in if the client stops sending the cookie.

     

  • Thanks Stewart For your reply

     

    As we know first three way handshake will happen between client and LB after successful handshake then client send HTTP request. As i have primary cookie persistence and fallback is source based. When client will make a connection to LB virtual at that time he will come with source IP address only.In this scenario how does primary and fallback with work

     

  • Thanks Stewart For your reply

     

    As we know first three way handshake will happen between client and LB after successful handshake then client send HTTP request. As i have primary cookie persistence and fallback is source based. When client will make a connection to LB virtual at that time he will come with source IP address only.In this scenario how does primary and fallback with work

     

  • At the point in time where the load balancing decision is made, the information is a) stored in the session table, and b) inserted into the persistence cookie sent in the FIRST HTTP response.

     

    Subsequent client requests will (should) have the cookie, and if not the source address affinity can be used.