Forum Discussion
El-Guapo_29797
Nimbostratus
Jun 30, 2014How to load balance thick clients based on HTTP parameter?
I have a pool of 6 nodes & need an iRule to use with Universal which balances thick clients. Each client will have a unique string inserted in header. String starts with cid + numbers such as: http:/...
shaggy_121467
Cumulonimbus
Jun 30, 2014Universal persistence:
http://support.f5.com/kb/en-us/solutions/public/7000/300/sol7392.html
Your iRule would look something like:
when HTTP_REQUEST {
set cid [findstr [HTTP::uri] "cid" 4 ";"]
if { $cid != "" } {
persist uie $cid
}
}
The ";" value is the terminator signifying the end of the parameter value, so you will need to adjust as needed.
You would create a universal persistence profile that references the iRule and assign it to the desired virtual server
El-Guapo_29797
Nimbostratus
Jul 01, 20144 in "cid" 4 ";"]??
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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