Forum Discussion
Peter_Baughn_84
Nimbostratus
17 years agocustom load balancing
We have a set of servers that each have a set number "jobs" they can handle. These jobs are scheduled with a web request. I would like to be able to load balance these based on the number of active jo...
hoolio
Cirrostratus
17 years agoHi Peter,
The simplest option might be to build a status page on the application which displays UP if the count of sessions or jobs that the server is currently processing is lower than the threshold it can handle. You could then configure an HTTP monitor to check the page for the string "UP". If the server doesn't show UP, it would be marked down by the pool.
Else, you could potentially use an iRule to count the number of jobs which have been sent to each server, but it would be much more complicated compared with the first option. If you do want to explore the iRule route, can you explain how you could determine when a job has been started and completed based on the request and/or responses sent to the VIP?
Aaron
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