Forum Discussion
Change persistence per pool
Hi
We have no default persistence as that has caused polarisation of servers due to NAT rules further up the stream, however I need to apply source_ip affinity on one pool. my irule is as follows,
when HTTP_REQUEST { if {[HTTP::host] eq "someurl.com"} {pool somepool}
as you can see I am switching on host header, is there any way of making that pool use source affinity or is this set globally per Virtual Server?
Any help would be greatly appreciated, I have tried putting persistence in before and inbetween the pool but to no avail.
1 Reply
- Jinshu
Cirrus
Try something like this..
when HTTP_REQUEST { if {[string tolower [HTTP::host]] equals "someurl.com"}{ persist source_addr } else{ return } }-Jinshu
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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