Forum Discussion
brice_11994
Nimbostratus
Jul 08, 2008Persisting to different pool, not members
Here is the problem I'm having a hard time solving. I have 5 pools of servers, each with 3 members. State is maintained across the 3 members in each pool by the application, so I don't need to persist to a specific server, but rather the pool. The one caveat is that if a server goes down, I will need to keep that connection on one of the other servers in that pool. So my question is...
How do I load balance across 5 pools from one virtual server making sure to persist clients to whatever pool they are originally connected to?
I'm assuming this can be done via an iRule, instead of the VIP > Pool > VIP > Pool method being used today.
Any help would be greatly appreciated. Thanks in advance.
--brice
- hoolio
Cirrostratus
Hello, - brice
Nimbostratus
Least connection would be preferrable, but whatever would get me closest to to equal connections across all the pools. I am running 9.4.4. - hoolio
Cirrostratus
Actually, what I was thinking wouldn't work. For this scenario, it would be great if you could add a VIP as a pool member of another VIP. In 9.4.x you can send a connection to a second VIP using an iRule, but you can't put a VIP in as a pool member by default. You could try to implement load balancing in an iRule, but it gets complicated trying to implement anything but round robin. Trying to maintain a count of connections per pool member would get very difficult and resource intensive.
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