Forum Discussion
arun_parthas_10
Nimbostratus
Mar 18, 2009Need help with writing an Irule
Hi
I have a situation where I have 4 clients hitting a VIP with two servers behind..
I am having a Least Connection ( member ) as LB method and Persistence set for 4 hours.. the ...
arun_parthas_10
Nimbostratus
Mar 19, 2009Hi Denny
Thanks for your response.. We did have LB with Round Robin with Persistence and the results were horrible.. all four client IP going to one server.. changing it to LC ( member) and rebooting the Bigip atleast got us 3 to 1.
The syntax you have given forces first two client IP's to a Pool with one server.. Not sure what happens if server in Pool 1 goes off line :
when CLIENT_ACCEPTED { if { ([IP::addr [IP::client_addr] equals x.x.x.x) || ([IP::addr [IP::client_addr] equals y.y.y.y) pool pool1 } else { pool pool2 } }
As mentioned, I would probably like to try out with IRulewhere tie clients 1 & 2 to a Pool with Server1 and 3 & 4 to a Server2 by having other pools as fall back..
Would you be able to help with syntax ?
thanks in advance.
Arun P
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