LTM irule with universal persistence
Hi there,
Can anyone perhaps advise on setting up the irule for creating universal persistence based on a part of the uri?
I used the irule shown below.
The persistence table lookup shows a correct persistence (show /ltm persistence persist-records)
But the http_response_log also shows the persistence somewhere fails.
The result is that the application on the backend servers fails when these connections are loadbalanced to different servers.
when HTTP_REQUEST {
set client [IP::client_addr]:[TCP::client_port]
set var1 [URI::query [HTTP::uri] "myuripart"]
if { $var1 != "" } {
persist uie $var1
}
}
when HTTP_RESPONSE {
if { $var1 != "" } {
persist add uie $var1
log local0.info "http_response_log: $client -> $var1 -> [LB::server]"
}
}
Used K7392 for reference
Thanks in advance.