Forum Discussion
kevinmc
Altocumulus
Aug 24, 2017Persistence iRule
Connections to a pool should use a non secure cookie persistence profile which I have created, unless they come from a specific list of IP addresses which need to use source address persistence
...
Kai_Wilke
MVP
Aug 24, 2017Hi KevinMC,
I would recommend to use a Cookie-based persistence profile (including your desired settings) as the default profile on your Virtual Server and then use an iRule to overwrite this setting for just specific SRC-IPs...
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals addressrange] } then {
persist source_addr
} else {
Do nothing and keep the default persistence profile for this connection
}
pool SF-ECRPROD
}
Cheers, Kai
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