Forum Discussion
Ron_126046
Nimbostratus
Aug 28, 2013iRule configuration for sending requests to specific pool members depending on user input
Hello, I'm very new to f5. I need help on configuring an iRule. Here is what I have set up so far and is it possible to configure?
I have a Virtual server that has 3 pool members.
I have...
Kevin_Stewart
Employee
Aug 28, 2013Well, you can replace the pool command with a node command and just point to the IP and port of the server directly:
when HTTP_REQUEST {
if { [class match... } {
node 10.1.1.1 80
} else {
node 10.1.1.2 80
}
}
But, that will eventually stop scaling well. The better option is to create 3 separate pools - one for each app/service. That way if you ever need to add resources for a given application, you just add that to the existing pool and load balancing is built in.
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