Forum Discussion
Hank_Maurer_105
Nimbostratus
Jun 21, 2005Expression Persistence
I would like to use expression persistence or a rule to send traffic to a specific server in a pool. We have a wireless device application that will connect you up to a server in a pool behind a vip,...
Martin_Machacek
Aug 09, 2005Historic F5 Account
Hank,
if you are entering the pool from command line (i.e. using bigpipe) you
need to put single quotes around the expression in order to avoid interference with shell globbing and expansion. The command should look like this:
b pool WIRELESSDEV-80 { select 'node(findstr(http_uri, "bigip=", 6) + ":80")' member 163.231.95.94:http ember 163.231.102.154:http }
If you are entering the select expression from the GUI, put just:
node(findstr(http_uri, "bigip=", 6) + ":80"
into the "Node SelectExpression" field on the Pools->Pool->Persistence
page.
The pool statement should work exactly as you have it when entering the configuration by manually editting /config/bigip.conf.
I've tested all of the alternatives on BIG-IP 4.6.4 and all of them worked for me 🙂
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