Forum Discussion
Brad_Baker
Aug 11, 2016Cirrus
Persist based on query string
Our QA team needs a way to specify a backend node via a query string and have all subsequent queries persist to that node for testing purposes.
I have written the following irule which send the re...
Brad_Baker
Aug 11, 2016Cirrus
This sort of seems to be working:
Direct traffic to that node.
pool [LB::server pool] member [class lookup $webserver servername2ip_datagroup] $prt
persist uie $webserver 518400
The first request for index.php goes to the correct node, whereas the resources (css, js, images) go to a random backend server. If I refresh the page though all requests seem to go to the correct server.
I don't suppose there's a way to make it work consistently for the very first request?
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