Forum Discussion

adharkrader's avatar
adharkrader
Icon for Nimbostratus rankNimbostratus
Jul 06, 2009

$pool in cookie name in profile?

I hate making things too specific... is there a way to reference the pool name in a profile's cookie name? Say I wanted to change it from BIGipServer[pool name] to F5[pool name]... is that possible in the profile? Or is an iRule required?

 

 

Thanks - Al

1 Reply

  • Hi,

     

     

    You'd need to use an iRule as there isn't a way to dynamically set the cookie name based on the pool using the standard configuration. With an iRule, you can use [LB::server pool] (Click here) to get the default pool name in CLIENT_ACCEPTED and then use persist cookie insert "F5[LB::server pool]" (Click here)to specify the cookie insert persistence with that cookie name.

     

     

    Aaron