Forum Discussion
Charles_Harris
Nimbostratus
Jan 17, 2007Host based LB'ing across pool members.
Hi I'm trying to write an iRule to ensure that one of our largest client applications gets evenly distributed across our services pool. We currently have 4 nodes in the pool with round-robbin LB in place.
The problem with this is that if another client requests a connection at the same time as our 'biggest hitter' client, the large client can end up with multiple connections to only a singe member of the pool instead of being properly distributed across all of the available members.
The backend and client are both weblogic based so the other standard LB profiles do not provide much assistance.
Any ideas? - Tips or pointers warmly received!
Currently:
--------
Server1 |-----(Big Hitter Client)-----|Member1
Server2 |-----(Big Hitter Client)-----|Member2
Server3 |-----(Big Hitter Client)-----|Member1
Server4 |-----(Big Hitter Client)-----|Member1
---------
---------
Others |-----------------------------|Members1,2,3,4
---------
Desired:
--------
Server1 |-----(Big Hitter Client)-----|Member4
Server2 |-----(Big Hitter Client)-----|Member3
Server3 |-----(Big Hitter Client)-----|Member2
Server4 |-----(Big Hitter Client)-----|Member1
---------
---------
Others |-----------------------------|Members1,2,3,4
---------
Sorry for the nasty pic.
- Charles_Harris
Nimbostratus
Blatant jump for interest.... - JRahm
Admin
How are your applications configured on the LTM? Virtual for each application, or do you switch all applications via a single virtual? Do the requests to your LTM come directly from the clients or is there a web tier proxying these requests? - Charles_Harris
Nimbostratus
Hi, - JRahm
Admin
Is there anything unique in the client request (heavy hitter and otherwise) that would allow you to capture that for decision making? - Charles_Harris
Nimbostratus
Unfortunately not that I know of, there maybe something embedded in the T3 protocol, but nothing I've seen (binary connection type)... - JRahm
Admin
The details of the t3 protocol have never been released to my knowledge. Unless you can build classes of who belongs where, I don't know that I can help you. You might consider a separate vip for your heavy hitters and use a different load balancing method for them. - Charles_Harris
Nimbostratus
Hi all, - Charles_Harris
Nimbostratus
Hi again! - JRahm
Admin
Use LB::mode to reset the load balancing mechanism
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