C_D_18583
Oct 25, 2005Nimbostratus
Adding persistance profiles to pools using Irules
I have 2 persistance profiles that I need to apply
to individual pools namely jupiter_60mins and earth_30mins.
Since I cannot apply the persistance profiles at the pool level
How do I re-write this irule below to incorporate these profiles to the pools ?
Sample :
if { [HTTP::host] starts_with "nexus"} {
if {$uri starts_with "/jupiter/"} {
pool robocop-1
}
elseif {$uri starts_with "/earth/"} {
pool robocop-2
}
}