Forum Discussion

Ron79_145050's avatar
Ron79_145050
Icon for Nimbostratus rankNimbostratus
Feb 21, 2014

HASH Carp Persistence

Hi guys,

 

I've just configured HASH persistence using CARP Algorithm, as describe in this document:

 

http://support.f5.com/kb/en-us/solutions/public/11000/300/sol11362.html

 

I've defined a persistence profile with this options:

 

Hash Algorithm: CARP

 

iRule: Select the iRule you created which contains the persist hash command.

 

Timeout: 0 seconds

 

This is the iRule:

 

when CLIENT_ACCEPTED { persist carp [IP::client_addr] }

 

This Persistence Profile has been applied in a Virtual Server type "Performance Layer (L4)" port UDP.

 

I've noticed something strange, active connections has increased around 35-40%, is this normal?, using this algorithm active connections have to be higher?

 

Thanks for your help, Ron

 

  • Anesh's avatar
    Anesh
    Icon for Cirrostratus rankCirrostratus

    So if it bypasses load balancing method, there would be chances of uneven load balancing, correct?

     

  • there would be chances of uneven load balancing, correct?

     

    yes

     

  • Anesh's avatar
    Anesh
    Icon for Cirrostratus rankCirrostratus

    Is there any other persistence method i can use for a long lived application using ssl (SSL offloading is not an option.) also taking into account even distribution of load to all pool members in a pool.

     

  • Is there any other persistence method i can use for a long lived application using ssl (SSL offloading is not an option.) also taking into account even distribution of load to all pool members in a pool.

     

    without ssl offloading, persistence method is limited. i do not think you have much choice.

     

  • Anesh's avatar
    Anesh
    Icon for Cirrostratus rankCirrostratus

    Just Found this http://support.f5.com/kb/en-us/solutions/public/12000/000/sol12078.html FastL4 virtual servers stop processing traffic after a hash persistence profile is applied.

     

    Does the above also apply when using CARP?