Forum Discussion

Perry_Wagner_11's avatar
Perry_Wagner_11
Icon for Nimbostratus rankNimbostratus
Nov 04, 2009

Force a request to a particular pool member

Hi,

 

 

I have a Virtual Server configured to use persistence via HTTP Cookie Insert. I would like to be able to "force" BigIP to stick my request to a particular pool member. Is there a way to do this?

 

 

I see that the cookie value BigIP sets looks something like this:

 

 

Set-Cookie: WWW-BigIP=1460448266.53280.0000; path=/

 

 

I would bet if there is some algorithm available to construct that cookie (based on pool member IP/port or something similar), it could be set externally (via some custom CGI), then you'd be good to go.

 

 

Thanks

2 Replies

  • Hi Perry,

     

     

    Here are two examples you could use allow a client to manually select a specific pool member. The second one has details on the persistence cookie encoding algorithm.

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/Manual_cookie_persistence.html

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/Persistence_Cookie_Logger.html

     

     

    Aaron
  • Thanks for the links! The second one in particular was helpful. Using the info here, https://support.f5.com/kb/en-us/solutions/public/6000/900/sol6917.html, I was able to write a small webapp which takes the server:port desired and then sets the encoded persistence cookie.

     

     

    Thanks!