03 Pools, Nodes and Load Balancing
A pool is the group of servers behind a virtual server, and the load balancing method decides which of them gets each new connection. This note covers nodes vs pool members, every load balancing method you need for the exam and for real designs, Priority Group Activation and the fallback host.
Node vs pool member
| Object | Represents | Example |
|---|---|---|
| Node | The server’s IP — the whole server | 192.168.52.11 |
| Pool member | IP + port inside a pool — one service on that server | 192.168.52.11:80 |
| Pool | Group of members serving the same application | pool_app1_80 |
- One node can be a member of several pools (e.g.
:443in an HTTPS pool and:22in an SFTP pool). - Nodes are the parent of members: disabling or marking down a node takes down every member that uses it, in every pool.
- The only required field to create a pool is its name. A pool’s configuration includes the load balancing method, health monitors, members, PGA, slow ramp and action on service down.
- Where things live: load balancing method → pool, persistence → virtual server.
Member vs node load balancing
Almost every dynamic method exists in two flavors:
- (member) — counts only that member’s connections in this pool.
- (node) — counts all connections to the server across every pool it belongs to.
| A | B | C | |
|---|---|---|---|
| HTTPS-Pool | 40 | 30 | 35 |
| SFTP-Pool | 5 | 20 | 5 |
| Total | 45 | 50 | 40 |
A new HTTPS connection → Least Connections (member) picks B (30 in this pool). Least Connections (node) picks C (40 in total).
Static methods (ignore real server load)
- Round Robin — one connection to each member in turn (A, B, C, A…). Default method. Best when servers are equal.
- Ratio — each member has a weight; connections are distributed proportionally in cycles. A=3, B=2, C=1 → of every 6 connections, A gets 3, B 2, C 1.
- Default ratio is 1 for everyone, so an untouched Ratio pool behaves like Round Robin.
- The method is selected on the pool; the weight is set on each member (Ratio member) or each node (Ratio node). If you choose Ratio (node) and put weights on members, they’re ignored.
Ratio is proportional, not sequential
The server with the highest ratio does not get connections until it’s “full”. Every member receives traffic at the same time, in proportion to its weight.
Dynamic methods (look at real server state)
| Method | Decision based on | Best for |
|---|---|---|
| Least Connections | Fewest active connections | Servers of similar capacity, long-lived connections |
| Weighted Least Connections | Lowest % of the connection limit configured on each member/node | Different capacities, with limits configured (required) |
| Fastest | Fewest outstanding L7 requests (quickest responder) | Members on different networks / locations |
| Observed | Dynamic ratio from L4 connection counts, recalculated continuously | Servers with very different capabilities, no persistence |
| Predictive | Like Observed, but favors members whose performance is improving | Same as Observed, more aggressive |
| Least Sessions | Fewest persistence records | Applications using persistence (requires a persistence profile that tracks sessions) |
| Dynamic Ratio | Ratio from real server metrics (SNMP/WMI agents) | When you can collect CPU/memory from servers |
| Ratio Least Connections | Combination of ratio and active connections | Mixed capacities |
Fastest = fastest responder
With servers answering in 5 ms, 5 ms and 2 ms, Fastest prefers the one answering in 2 ms.
Choosing a method
| Situation | Method |
|---|---|
| Identical servers | Round Robin |
| Known, different capacities | Ratio |
| Old + new servers, no persistence | Observed (or Predictive) |
| Members in different networks | Fastest |
| Application uses persistence | Least Sessions |
| Connection limits set per member | Weighted Least Connections |
Priority Group Activation (PGA)
- Redundancy inside the same pool — not a separate backup pool.
- Each member gets a priority group number. Higher number = higher priority.
- Only the highest group receives traffic; lower groups stay on standby.
- Pool setting Priority Group Activation: Less than N Available Member(s) — when the available members of the active group drop below N, the next group is activated as well. When they recover, traffic goes back to the high group.
- N is a threshold, not “how many servers may be active”.
- PGA depends on health monitors — without a monitor BIG-IP never sees a member go down.
- Works with any load balancing method.
PGA scenario
A and B in group 20, C and D in group 10, PGA “Less than 2”.
- Everything up → only A and B get traffic (2 available is not “less than 2”).
- A fails → group 20 has 1 available (< 2) → B, C and D get traffic.
Fallback host
- Used when no member of the pool is available.
- It’s an HTTP redirect (302) to another URL — a maintenance page, a DR site, a cloud copy. It doesn’t load balance and isn’t a pool member.
- Configured in the HTTP profile of the virtual server (HTTP only), not in the pool.
- The value is a full URL, e.g.
http://10.1.20.50/. - Don’t edit the default
httpprofile: create a child profile withhttpas parent.
PGA vs fallback host
PGA activates backup servers inside the pool. The fallback host acts when the whole pool is down and sends the client somewhere else.
Other pool settings worth knowing
| Setting | What it does |
|---|---|
| Slow Ramp Time | A member that just came up receives traffic gradually instead of a flood |
| Action On Service Down | What happens to existing connections when a member goes down: None, Reset, Reselect, Drop |
| Availability Requirement | With several monitors: All must pass, or At least N |
| Connection Limit (member/node) | Max concurrent connections; used by Weighted Least Connections |
Self-check
Q1 — True or false: member load balancing considers all of a host's connections across all pools.
Respuesta
False. That’s node load balancing. Member load balancing only counts connections in the current pool.
Q2 — Which ratio value receives the most connections?
Respuesta
The highest ratio, proportionally — all members still receive traffic.
Q3 — Where are ratio weights configured?
Respuesta
On each pool member (Ratio member) or each node (Ratio node). The method itself is chosen on the pool.
Q4 — Which method should you use when pool members are in different networks?
Respuesta
Fastest.
Q5 — Two old servers and one new high-end server, no persistence. Which method gives the best user experience?
Respuesta
Observed.
Q6 — Which method relies on persistence?
Respuesta
Least Sessions.
Q7 — You want standby servers used when fewer than 3 are active in the high group. What PGA value?
Respuesta
Less than 3 available members.
Q8 — When does the fallback host activate, and where is it configured?
Respuesta
When no pool members are available. It’s configured in the HTTP profile of the virtual server.