Forum Discussion
Point request of one client to same pool member everytime
I think, iRule would be more efficient for your use case. You can create separate pool for each pool member. e.g. consider Pool1, Pool2 and Pool3.
And use below iRule,
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals Client1-IP] } {
pool Pool1
}
else if { [IP::addr [IP::client_addr] equals Client2-IP] } {
pool Pool2
}
else if { [IP::addr [IP::client_addr] equals Client3-IP] } {
pool Pool3
}
}
You need to put IP addresses of client in place of Client1-IP, Client2-IP etc. This way request from client1 will get forwarded to Pool1 (which include server1) and same way for other clients.
Hope it works!
Mayur
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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