Forum Discussion
rama_127949
Nimbostratus
Feb 08, 2004Force node selection on the URL
Hi,
I need some help on node selection stuff.
I have 2 servers behind my VIP and they need to be tested by a third party. I would like to set up in such a way when they u...
Loc_Pham_101863
Feb 19, 2004Historic F5 Account
Here's the feedback from one of our UIE experts:
This can be done with direct node selection (the use of the select statement on the pool). Basically, you create a mapping of text->node in a class and then specify an expression to select the text. It's ugly, but it works and it would look something like this:
class myClass {
"webserver1 10.10.10.1"
"webserver2 10.10.10.2"
}
pool myPool {
member 10.10.10.1
member 10.10.10.2
select mapclass2node(findstr(http_uri,"?",1), myClass)
}
Note that no rule is used.
Regards,
Loc
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