Forum Discussion
Load balance based on a server CPU load
Hello all,
I am trying to find a mechanism to allow the F5 to pull CPU usage off one server in a pool of four. The end goal here is to send all traffic to one server using a higher priority group until that server reach the a certain CPU threshold (85%). That will trigger that node to be disable and send the rest of traffic to the other 3 servers in the pool.
I have research this a little bit and found a few options but I need to know if anyone has implement anything like this before and how effective one solution will be compared to the other? Or if any other solution is available to accomplish this?
- SNMP DCA monitor can be use to pull the CPU info but according to SOL 14127 it can be resource extensive
- Use an external monitor like the one on this link but I don't know how well this will work.
Thank you in advance for your answers.
- AJ_01_135899Cirrostratus
If this is a windows environment, you could use a WMI monitor.
SOL 14127 mentions that it could be resource intensive if you log the monitor - so once you have it tuned properly, just turn off the logging and let the monitor run.
- The_YCirrus
What's your take on the external monitor option?
- HamishCirrocumulus
External monitors are fine, but there's nothing to say they won't be as (Or more) resource intensive than the DCA option. Plus you have to maintain it.
With regards to resource usage, DCA uses SNMP, which is built to be simple and light weight.
The message about resource usage for SNMP in SOL 14127 is IF you have LOGGING enabled. Because the log file grows and there isn't an automatic mechanism to roll it over and/or clean it out.
As AJ says above, just don't enable the logging, and go the SNMP route.
- The_YCirrus
Thank you for your answers on this. I'm going to take a swing at the SNMP DCA monitor to see what I can get out of it.
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