I'm trying to improve the load balancing we have for one of our HTTP applications.
We've recently implemented the micro-profile health check which gives different endpoints for liveness, readyness and wellness.
I essentially want to have 3 different states for a pool member:
And to set these based on the outcomes from the various different HTTP monitors. If the wellness endpoint returns a negative response a member moves from status 1 to status 2. Any users with with an existing session will still send requests to the member, but a member in status 1 is required for any new sessions.
I'm wondering if ratio based load balancing, or priority groups is the way to do this, but I'm not sure if the prioriroty group or ratio values can be set dynamitcly from the outcome of an http monitor.
Is this actually something that is achievable?
Thanks in advance