Dynamic Ratio for Proxy Server
Hi,
we would like two proxy servers fw-proxy-01 and fw-proxy-09 via the F5 balancing, whereby the load distribution should take place via dynamic ratio.
For this we have created a dca basic monitor which queries the current load via snmp with the oid .1.3.6.1.4.1.2021.10.1.3.1. This monitor was assigned to the nodes.
In the pool, the load balancing method is configured to "Dynamic Ratio (member). The configured ratio of each node is 1.
But although fw-proxy-01 shows a load of 0.25 and fw-proxy-09 a load of 0.01 (snmp dca logging activated) the sessions are still routed to fw-proxy-01:
========== /usr/share/monitors/SNMPDCABASE_monitor ==========
Node Name: /Proxyfarm/fw-proxy-01
Node Address: ::ffff:x.x.x.1
SNMP version: v2c, community = <sensitive data redacted>, port: 161
Monitor: snmp_dca_base.
User OIDs:
.1.3.6.1.4.1.2021.10.1.3.1 - 0.250000
i = 0, util = 0.250000, threshold=90.000000, coeff=1.000000
Main:Weight =10 (weight1 = 9.936243, weight2 = 0.000000)
========== /usr/share/monitors/SNMPDCABASE_monitor ==========
Node Name: /Proxyfarm/fw-proxy-09
Node Address: ::ffff:x.x.x.9
SNMP version: v2c, community = <sensitive data redacted>, port: 161
Monitor: snmp_dca_base.
User OIDs:
.1.3.6.1.4.1.2021.10.1.3.1 - 0.010000
i = 0, util = 0.010000, threshold=90.000000, coeff=1.000000
Main:Weight =10 (weight1 = 9.997442, weight2 = 0.000000)
The tmsh command "list ltm node dynamic-ratio" show me always a dynamic ratio osf 10 for both nodes:
ltm node fw-proxy-01 {
dynamic-ratio 10
}
ltm node fw-proxy-09 {
dynamic-ratio 10
}
Does anyone know, how we can create a dca basic monitor for this scenario? Is it necessairy calculate any values with coefficient and / or thresholds?
And if so, how can we do that?
Regards Michael.