Forum Discussion
iRule for handling traffic to multiple pools through the same VS
Try applying a oneconnect profile to the virtual server.
What sort of persistence profile are you using?
- cdsmimthNov 14, 2019
Altostratus
I was using sticky persistence, but I have since switched to no persistence. I'll look up what a oneconnect profile is and try that.
- cdsmimthNov 14, 2019
Altostratus
The oneconnect profile did not make a difference. I tried it with and without sticky persistence.
- Simon_BlakelyNov 14, 2019
Employee
Define what you mean by sticky persistence?
That isn't an F5 persistence type ...
Use Cookie Persistence. Use something based on the default cookie persistence, and do not specify the cookie name (the cookie name identifies the pool - if you use a custom name, you lose the pool name information and all your pools look alike). You will have a separate cookie for each pool.
The oneconnect profile allows server-side connection reuse, which can be more efficient. However, it also detaches the server-side connection from the client-side connection after every HTTP request/respond event.
This means that a new load-balancing decision is made per request.
You may have a logical error in your irule as well - I'd ensure that any path through the HTTP_REQUEST rule assigns the correct pool for the request with a pool command.
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