rodrigo_Benzaqu
Jun 07, 2007Nimbostratus
Help to convert an irule from 4.5 to 9
Guys, Tonight I´m planning to migrate from an old bigip540R to a 6400, so somebody can help to migrate the folowing rule ?
Maybe we can use switch instead of if and if
load balancing rules
rule Cache_Fetch {
if (http_uri starts_with "/jm/pms" or http_uri starts_with "/cgi/pms/") {
use pool PMS_java
}
else {
if (http_uri starts_with "/jm/img?") {
use pool IMG_POOL
}
else {
if (http_uri starts_with "/jm/" or http_uri starts_with "/jms/" or http_uri starts_with "/servlet/" or http_uri ends_with "
_JM" or http_uri ends_with "_JSEA" or http_uri starts_with "/dwr/") {
use pool Java_Servers
}
else {
if (http_uri contains "/ml/") {
use pool SQL_Servers
}
else {
use pool static_server
}
}
}
}