Forum Discussion
Mike_Graston_10
Nimbostratus
Jan 25, 2007Irules when Upgrading
All,
Has anyone upgraded from a 9.X version to a 9.X version and seen any instances in which the Irule or Irule commands didn't port over. We are running into the issue where I either nee...
Mike_Graston_10
Nimbostratus
Jan 25, 2007Joe,
Thanks as this is more than anticipated. I was wondering in the community if someone already went down this path, I really don't have a specific rule in mind as I am no where near as savy as the indiviuals on this forum. I really have very basic rules like if uri contain
uri equals
split then to a specific pool or memeber
If all nodes down then
Discard / reject packet
Of course redirects for http to https
Very simplistic rules
here are some ex's if you can't sleep:
when CLIENT_ACCEPTED {
if { [active_members mypool] == 0 } {
discard
}
}
when HTTP_REQUEST {
if { ([HTTP::uri] contains "/ESPP") or ([HTTP::uri] contains "/web1") } {
node 10.0.0.1 80
}
elseif { [string tolower [HTTP::uri]] contains "web2"} {
pool pool2
}
elseif { [string tolower [HTTP::uri]] contains "web3"} {
pool pool3
}
elseif { [string tolower [HTTP::uri]] contains "web4"} {
pool pool4
}
elseif { [string tolower [HTTP::uri]] contains "web5"} {
pool pool5
}
else {
pool default-pool
}
}when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
Stuff like that, I kind of figured I wasn't the only one going to upgrade from this version with the Time thing but doesn't seem to make sense when it's a pretty close process for patching as upgrading, just more risky!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
