Forum Discussion
Sakthi_110969
Nimbostratus
Dec 30, 2012Not to Load Balance
Hi there,
Here is my situation.
I have two web servers which are load balanced, VIP Is configured, and all works fine.
URL for Example. .. abc.xyz.com
Now, I have a scenario wherein i dont want to do load balance but all the request should go to a specific server when any users hits url abc.xyz.com/1234.
I can do this uring http profile but just curious to know how to write a iRule for this.
Appreciate the help
Cheerz..
1 Reply
- Srinivasan_G_31
Nimbostratus
iRule will be something like the one below.
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"*/abc.xyz.com/*" -
"*[0-9][0-9][0-9][0-9].aspx*" {pool abcd.com member 1.2.3.4 80 }
default {pool abcd.com}
}
}
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