Forum Discussion
jma_44485
Nimbostratus
Oct 10, 2009Irule question about Hash persistence
Hi,
I am really newbie of Irules. The issue I have is that the load is not balanced on our web servers. I have virtual server AAA in BigIP LTM. Hash_persistence profile is assigned to the virtu...
hoolio
Cirrostratus
Oct 12, 2009I'd suggest just doing the following:
Removing the hash persistence profile, add a cookie insert persistence profile and testing?
If the persistence fails, you might need to hardcode the domain on the persistence cookie using an iRule like this. You'll need to update the persistence cookie name and the domain you want to set it with. Make sure to prepend a period to the beginning of the domain (ie .aaa.com, not aaa.com).
when HTTP_RESPONSE {
Check if persistence cookie has a value
if {[HTTP::cookie "BIGipServerMy_pool_name"] ne ""}{
Set domain on the persistence cookie
HTTP::cookie domain "BIGipServerMy_pool_name" ".aaa.com"
}
}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
