Randy_Johnson_1
Feb 08, 2006Nimbostratus
Newbie to IRules - HELP PLEASE !
Hi group -
This is my first venture into the world of IRules, and I'm hoping for some direction.
The basic situation is this -
I have a webfarm runing several applications. Some of these applications, we get paid for, and one we do not. The one app we don't get paid for is processor intensive, so I'd like to redirect requests for this app to a single machine in the farm.
My apps are all called via HTTPS, and the SSL connection is terminated at the BigIP.
Can I use something as simple as
when HTTP_REQUEST {
if { [HTTP::uri] contains "AddressSvc" } {
pool address_pool
}
}
And the BigIP will know what to do with the request if it does NOT contain the string
AddressSvc"AddressSvc"?
Or do I need 'Else' cases as well ? This would make the IRule considerably more ... painful, as there are MANY 'good' URLs that may be directed to any of several pools
Thanks, all !!