Forum Discussion
Steve_Knapp
Altostratus
Apr 28, 2014Help with "persist source_addr" command not working in Irule
I have an iRule that selects a pool member based on data within the 1st HTTP_REQUEST in a session and I need to persist on source IP address. I have a source IP persist profile set on the virtual se...
Steve_Knapp
Altostratus
Apr 29, 2014well it shows up but only because it is set on the 2nd LB_request I am pretty sure. I have no way to check between the first LB_request and the second one.
My question is why does the "persist source_addr" command in the Irule not work?
if {[HTTP::uri] contains "sso=a" || [class match [IP::client_addr] equals ifb_oam_qaq_persist_sso_a ]} {
if {$debug} {
log local0. "${prefix}Request from client: [IP::remote_addr]"
log local0. "${prefix}Selecting member 10.110.3.11 based on SSO redirect"
}
pool ap-tcsso.infarmbureau.com_https_pool member 10.110.3.11
persist source_addr
}
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