Forum Discussion
Fletcher_Cocquy
Sep 27, 2011Nimbostratus
iRule to select test pool based on cookie/env variable?
Hi all,
we have a virtual server mapping to a pool with one apache web node.
client wants to test the new node via the virtual server.
Can we craft an iRule to direct her session t...
Michael_Yates
Sep 27, 2011Nimbostratus
I agree with Brian. Filtering and routing on the Client IP Address is the easiest solution. If you have more than one IP Address to filter on / route to test this node then I would suggest using a Data Group.
Something like this:
when HTTP_REQUEST {
if { [IP::client_addr] equals "10.10.10.10" } {
node 20.20.20.20 80
}
}
IP::client_addr - http://devcentral.f5.com/wiki/iRules.IP__client_addr.ashx
node - http://devcentral.f5.com/wiki/iRules.node.ashx
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