// Poradnik techniczny // HA · Load balancing

Dynamic Load Balancer
w Proxmox VE 9.2

Proxmox VE 9.2 wprowadził Dynamic Load Balancer — odpowiednik DRS znanego z vSphere. Cluster Resource Scheduler w trybie dynamicznym uwzględnia bieżące zużycie CPU i RAM i automatycznie migruje maszyny pod HA, by wyrównać obciążenie węzłów — zawsze respektując reguły affinity.

// 01 · DRS dla Proxmoxa

Koniec ręcznego balansowania

Dotąd równoważenie obciążenia w klastrze Proxmox było zadaniem administratora — to on decydował, którą maszynę przenieść, gdy węzeł się zatykał. Od 9.2 robi to automat: load balancer obserwuje klaster i sam inicjuje migracje, by żaden węzeł nie był przeciążony, gdy inne mają zapas.

// 02 · Jak działa CRS

Decyzje na bazie realnego obciążenia

W trybie dynamicznym CRS bierze pod uwagę średnie zużycie CPU i pamięci aktywnych maszyn oraz ich skonfigurowane przydziały (quoty), a nie tylko sumę zarezerwowanych zasobów. W każdej rundzie menedżera HA (ok. co 10 sekund) sprawdza, czy nierównowaga (imbalance) klastra przekracza próg.

Jeśli imbalance utrzymuje się powyżej progu przez ustaloną liczbę kolejnych rund (hold duration), balancer wybiera migrację, która najbardziej obniży nierównowagę — i ją wykonuje.

// 03 · Konfiguracja

Włączenie i strojenie

  • Gdzie — Datacenter → Options → Cluster Resource Scheduling.
  • Tryb schedulera — wymagany static-load lub dynamic-load; balancer działa na ich podstawie.
  • Parametry — próg nierównowagi (imbalance threshold) i czas utrzymania (hold duration) dostroisz pod swój klaster, regulując czułość i częstość migracji.
// 04 · Granice

Co balancer respektuje

  • Tylko maszyny pod HA — automatyczne migracje obejmują zasoby zarządzane przez stos HA.
  • Zawsze zgodnie z affinity — migracje nigdy nie łamią Twoich reguł node i resource affinity (np. maszyna w regule 3 węzłów zostanie tylko na nich).
💡

To domyka kolejną lukę względem VMware: po migracji z vSphere DRS dostajesz porównywalne, automatyczne równoważenie klastra — bez dodatkowych licencji.

Wdrożymy automatyczne równoważenie klastra

Skonfigurujemy CRS i Dynamic Load Balancer pod Twoje obciążenia oraz reguły HA — tak, by klaster sam utrzymywał równowagę po migracji z VMware.

⚡ Bezpłatna konsultacja → Reguły HA affinity
// Technical guide // HA · Load balancing

Dynamic Load Balancer
in Proxmox VE 9.2

Proxmox VE 9.2 introduced the Dynamic Load Balancer — the equivalent of vSphere DRS. The dynamic-mode Cluster Resource Scheduler factors in live CPU and RAM usage and automatically migrates HA-managed VMs to even out node load — always respecting affinity rules.

// 01 · DRS for Proxmox

No more manual balancing

Until now, balancing load across a Proxmox cluster was the admin's job — they decided which VM to move when a node got busy. Since 9.2 it's automatic: the load balancer watches the cluster and initiates migrations itself, so no node is overloaded while others have headroom.

// 02 · How the CRS works

Decisions based on real load

In dynamic mode the CRS factors in the average CPU and memory usage of active VMs plus their configured quotas — not just the sum of reserved resources. In each HA manager round (about every 10 seconds) it checks whether the cluster imbalance exceeds a threshold.

If the imbalance stays above the threshold for a set number of consecutive rounds (the hold duration), the balancer picks the migration that reduces imbalance the most — and performs it.

// 03 · Configuration

Enabling and tuning

  • Where — Datacenter → Options → Cluster Resource Scheduling.
  • Scheduler mode — requires static-load or dynamic-load; the balancer builds on these.
  • Parameters — tune the imbalance threshold and hold duration for your cluster to control sensitivity and migration frequency.
// 04 · Limits

What the balancer respects

  • HA-managed VMs only — automatic migrations cover resources managed by the HA stack.
  • Always affinity-compliant — migrations never break your node and resource affinity rules (e.g. a VM in a 3-node rule stays on those nodes).
💡

This closes another gap versus VMware: after migrating off vSphere DRS you get comparable, automatic cluster balancing — with no extra licenses.

We'll set up automatic cluster balancing

We'll configure the CRS and Dynamic Load Balancer for your workloads and HA rules — so the cluster keeps itself balanced after a VMware migration.

⚡ Free consultation → HA affinity rules