Forum Discussion

Julian_Annison_'s avatar
Julian_Annison_
Icon for Nimbostratus rankNimbostratus
Feb 24, 2005

Persistence using server name in cookie

I am trying to set up cookie persistence to a goupe of SAP web servers that use cookies.

 

In the first 12 or so characters of the cookie the servername is placed, so i thought great i would use cookie hash persistence.

 

 

But according to the documentation when you use cookie hash persistence when a client connects to a server for the first time and receives a cookie the LTM does a hash on the cookie but does not necessarily persist the client to the server it first received the cookie from.

 

I have conducted tests and this seems to be the case.

 

 

So my question is can i use an Irule with universal persistence to ensure that the clent persists to the server from the very fist requst like it would with souce address persistence.

 

 

Regards

 

 

Julian
  • Why don't you let the loadbalancer take care of persistence and use a cookie insert?

     

     

    Thanks,

     

    Brian
  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    Not unless the application happens to use a cookie with the same name. The default cookie is named BIGipServer. However, this can be configured in the persistence profile.