Forum Discussion
mstiles_127829
Nimbostratus
Nov 19, 2004Custom load balancer
I'm not sure if this is the right place to ask this, but is it possible to write a custom script for load balancing? The standard options on the Big IP are not working for us. Is there a framework for such a thing? Thanks in advance for any help.
- bknotwell_12713Historic F5 AccountA custom script for load balancing? You can't do it at this point.
- mstiles_127829
Nimbostratus
I need to load balancer to be able to query a table in a database before deciding where to send the connection. Based off of this query, it would have an accurate idea of the load on the server. There is really no other way to get this information. Can this be done? - Loc_Pham_101863Historic F5 AccountTheoretically, you can also write a custom external monitor (EAV) script that does the database query to get the server load, do some number crunching to get some dynamic ratio, then use iControl's LocalLB::NodeAddress interface to set that dynamic ratio for the node address in question. This does not provide a way for your script to have its own LB algorithm, but at least it provides a way for your script to greatly influence how traffic is load-balanced.
- mstiles_127829
Nimbostratus
That's an interesting idea. I may give that a shot. Has anything like that been done before? - Loc_Pham_101863Historic F5 AccountAs an alternative, you can also write an iControl application that runs periodically on your servers, gathering server load statistics and other info, then sets the dynamic ratio via iControl.
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