I actually have a follow-up
I have following irule:
when HTTP_REQUEST {
if { ([HTTP::uri] contains "Communication") or ([HTTP::uri] contains "Builder") }{
persist cookie
pool XYZ
}
elseif { ([HTTP::uri] contains "PDFTemp") or ([HTTP::uri] contains "DOCTemp") or ([HTTP::uri] contains "Servicenew") or ([HTTP::uri] contains "ServiceCorrespondence")}{
log local0. "Client IP = [IP::client_addr]"
persist none
pool ABC
}
}
But I am not still seeing Persistence on second pool ABC
and I had to put the Persistence method cookie on Virtual servers Resources, Default Persistence Profile Section.
If I don't put that on the Virtual server, it gives an error that irule is using Persistence method so VS needs to have "cookie" in VS > Resources > Default Persistence Profile Section : "Cookie"