Forum Discussion

Andrea_Arquint's avatar
Andrea_Arquint
Icon for Nimbostratus rankNimbostratus
Aug 09, 2010

hash persistency

Hi there

 

 

We have 4 cache servers which are delivering images for our platform on a specific domain.

 

I would like to configure our LTM's to be able that an image request for image_a gets a persistent

 

connection to image server_1 and requests for image_b gets a persistent to image server_2.

 

If server_1 fails then image_a should be served from server_2 locically.

 

 

I read something that it would be enough only to configure the "Default Persistence Profile" to "hash"

 

but I'm not sure if this really does solve my needs.

 

 

There were also some configuration examples I found which tells that this behavoir must be done by iRules.

 

 

I anybody out there which has made already some experiences with URL hashing???

 

 

 

Many thanx

 

bb

 

1 Reply

  • This sounds like a perfect candidate for the election hash technique. You can do it via a rule, or if you're running 10.1 or higher (maybe even 10.0.x, can't remember) you can use the CARP persistence method which is now baked into the product.

     

     

    Do a quick search for election hash to get an idea of what is involved, or if you're running a recent 10.x use CARP and you should be good to go.

     

     

    -Matt