Forum Discussion
Terry_Luedtke_1
Nimbostratus
Sep 08, 2009Persistence by pool rather than VIP?
Hi,
Is it possible to set persistence by pool rather than by VIP? For example, if we had an iRule like the following:
when HTTP_REQUEST {
switch [HTTP::path] { ...
The_Bhattman
Nimbostratus
Sep 08, 2009Hi Terry,
You could invoke persistence on specific pool selections
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"*.jpg" -
"*.gif" -
"*.png" {
pool image_pool
persist none
}
"*.asp" {
pool dynamic_pool
persist source_addr 255.255.255.255 30
}
default {
pool web_pool
persist none
}
}
}
Click here to learn more about the persist command.
Thanks,
CB
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