LocalLB::LBMethod¶
Members¶
Member
Value
Description
LB_METHOD_ROUND_ROBIN
0
Connections are distributed evenly across all members in the pool.
LB_METHOD_RATIO_MEMBER
1
Connections are sent to a member with a high ratio number more often than a member with a lower ratio number.
LB_METHOD_LEAST_CONNECTION_MEMBER
2
Connections are sent to the member with the least active connections.
LB_METHOD_OBSERVED_MEMBER
3
Connections are sent to a member based on a combination of the number of current connections and the response time of the member. The local load balancer analyzes the performance of the member over time and sends connections to the member based on the trend.
LB_METHOD_PREDICTIVE_MEMBER
4
Connections are sent to a member based on a combination of the number of current connections and the response time of the member over time.
LB_METHOD_RATIO_NODE_ADDRESS
5
Connections are sent to a node address with a high ratio number more often than a node address with a lower ratio number.
LB_METHOD_LEAST_CONNECTION_NODE_ADDRESS
6
Connections are sent to the node address with the least active connections.
LB_METHOD_FASTEST_NODE_ADDRESS
7
Connections are sent to the node address with the fastest response time.
LB_METHOD_OBSERVED_NODE_ADDRESS
8
Connections are sent to a node address based on a combination of the number of current connections and the response time of the node. The local load balancer analyzes the performance of the nodes over time and sends connections to the node based on the trend.
LB_METHOD_PREDICTIVE_NODE_ADDRESS
9
Connections are sent to a node address based on a combination of the number of current connections and the response time of the node over time.
LB_METHOD_DYNAMIC_RATIO
10
Dynamic Ratio mode is like Ratio mode except that in Dynamic Ratio mode the ratio weights are based on continuous monitoring of the servers, and are therefore continually changing. Dynamic Ratio load balancing may currently be implemented on any nodes that are checked by one of the following monitor types: snmp_dca (SNMP data collecting agent), real_server (RealNetworks RealServer platforms), and wmi (Windows platforms equipped with Windows Management Instrumentation).
LB_METHOD_FASTEST_APP_RESPONSE
11
Connections are sent to the node that has the fastest application response time.
LB_METHOD_LEAST_SESSIONS
12
Connections are sent to the node that has the least number of sessions.
LB_METHOD_DYNAMIC_RATIO_MEMBER
13
Connections are sent to the pool member based upon a dynamic ratio generated by some monitors
LB_METHOD_L3_ADDR
14
Connections are sent to pool members based upon the result of a hash algorithm that uses the L3 address of the connection
LB_METHOD_UNKNOWN
15
Load balancing method unknown (or unsupported by iControl).
LB_METHOD_WEIGHTED_LEAST_CONNECTION_MEMBER
16
A new connection is passed to the pool member that has the lowest proportion of its specified connection limit in the pool. This algorithm works best in environments where the servers or other equipment you are load balancing have different but quantified capability limits. This algorithm requires all pool members to have specified connection limits, but does not require all servers or other equipment you are load balancing to have similar capabilities. This algorithm uses the same functionality as the “least connection member” algorithm.
LB_METHOD_WEIGHTED_LEAST_CONNECTION_NODE_ADDRESS
17
A new connection is passed to the node that has the lowest proportion of its specified connection limit in the pool. This algorithm works best in environments where the servers or other equipment you are load balancing have different but quantified capability limits. This algorithm requires all pool members to have specified connection limits, but does not require all servers or other equipment you are load balancing to have similar capabilities. This algorithm uses the same functionality as the “least connection node address” algorithm.
LB_METHOD_RATIO_SESSION
18
A new session is passed to the pool member with the least number of sessions weighted by the node’s ratio weight.
LB_METHOD_RATIO_LEAST_CONNECTION_MEMBER
19
A new connection is passed to a pool member with the least number of connections weighted according to the ratio weight defined for each pool member. If a ratio weight is unspecified, it will be treated as a default value of 1.
LB_METHOD_RATIO_LEAST_CONNECTION_NODE_ADDRESS
20
A new connection is passed to a pool member with the least number of connections weighted according to the ratio weight defined for the pool member’s node. If a ratio weight is unspecified, it will be treated as a default value of 1.
See Also¶
Warning
The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.
Sample Code¶
The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.