[pve-devel] [PATCH docs 1/1] ha: add section about scheduler modes

Fiona Ebner f.ebner at proxmox.com
Thu Nov 10 15:38:00 CET 2022


briefly describing the 'basic' and 'static' modes and with a note
mentioning plans for balancers.

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 ha-manager.adoc | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/ha-manager.adoc b/ha-manager.adoc
index 54db2a5..dfed393 100644
--- a/ha-manager.adoc
+++ b/ha-manager.adoc
@@ -933,6 +933,33 @@ NOTE: Please do not 'kill' services like `pve-ha-crm`, `pve-ha-lrm` or
 immediate node reboot or even reset.
 
 
+Scheduler Mode
+--------------
+
+The scheduler mode controls how HA selects nodes during recovery of a service.
+The default mode is `basic`, you can change it in `datacenter.cfg`:
+
+----
+crs: ha=static
+----
+
+For each service that needs to be recovered, the scheduler iteratively chooses
+the best node among the nodes with the highest priority in the service's group.
+
+NOTE: There are plans to add modes for (static and dynamic) load-balancing in
+the future.
+
+Basic
+^^^^^
+
+The number of active HA serivces on each node is used to choose a recovery node.
+
+Static
+^^^^^^
+
+Static usage information from HA serivces on each node is used to choose a
+recovery node. In particular, CPU and memory configuration is considered.
+
 ifdef::manvolnum[]
 include::pve-copyright.adoc[]
 endif::manvolnum[]
-- 
2.30.2






More information about the pve-devel mailing list