Kenny_Van_73892
May 11, 2007Nimbostratus
Different persistence each pool under a single virtual server
I'm hitting the wall with persistence in version 9.4. In version 4.6, I can set different persistence for each pool such as SSL persistence for pool A, Simple persistence for pool B, and None for pool C. All pool A, B, and C are under a single VIP. Now I can't do the same thing thru configuration in version 9.4. The Tech @ F5 recommended me to config the persistence for each pool thru irule and I'm not sure how to start with. For instance, https://www.mycompany.com/A go to poolA, /B go to poolB, /C go to poolC and poolA is a Simple persistence, poolB is a SSL persistence, and poolC is None.
when HTTP_REQUEST {
if {[HTTP::uri] contains "A"} {
pool A
}
elseif {[HTTP::uri] contains "B"} {
pool B
}
else {
pool C
}
}
The Persistence feature in Profile is configured for all pools, so I can't utilize it and need your help to config persistence for each pool.
Thanks.