Forum Discussion
Load balancing using an API
Hi Hitesh,
Yes, you can using monitors to mark pool members up or don based on value returned for "freeMemory" parameter. When pool member is down, no application traffic will be sent to it until is it backup again.
BigIP has a feature called custom monitors. Using it, you can write a scrip to check for "freeMemory" and set pool member status accordingly.
REF: https://devcentral.f5.com/s/question/0D51T00006kGmg2/custom-https-health-monitor
Hope this helps,
Nag
- HiteshMar 08, 2020Nimbostratus
,
We don't want to mark servers Up and Down.
We want to load balance using the parameter.
E.g. Out of all the servers in the pool, redirect the request to the server which has freeMemory more.
Or in another terms, if freeMemory is less than some thresold, then don't redirect request to that server.
After sometime, when the freeMemory is above the thresold, then that server should get new requests.
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