Forum Discussion
C_D_18583
Nimbostratus
Oct 25, 2005Adding persistance profiles to pools using Irules
I have 2 persistance profiles that I need to apply
to individual pools namely jupiter_60mins and earth_30mins.
Since I cannot apply the persistance profiles at the pool level
How do I...
Brian_Gupta_115
Nimbostratus
Oct 25, 2005Assuming you set $uri elsewhere, try:
when HTTP_REQUEST {
if {[HTTP::host] starts_with "nexus"} {
if {$uri starts_with "/jupiter/"} {
PROFILE::persist timeout 3600
pool robocop-1
}
elseif {$uri starts_with "/earth/"} {
PROFILE::persist timeout 1800
pool robocop-2
}
}
}Please note, I couldn't find any docs for this, so this may not work.
Cheers,
Brian
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