From: Daniel Kral <d.kral@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH docs v2 2/4] ha: rules: document crs behavior for split positive resource affinity
Date: Tue, 5 Aug 2025 09:58:37 +0200 [thread overview]
Message-ID: <20250805075944.35405-2-d.kral@proxmox.com> (raw)
In-Reply-To: <20250805075944.35405-1-d.kral@proxmox.com>
Signed-off-by: Daniel Kral <d.kral@proxmox.com>
---
changes since v1:
- changed the latter sentence about alphabetical ordering
ha-manager.adoc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ha-manager.adoc b/ha-manager.adoc
index 996543f..434c33f 100644
--- a/ha-manager.adoc
+++ b/ha-manager.adoc
@@ -787,6 +787,11 @@ HA resources `vm:101` and `vm:102` are each in a positive resource affinity
rule, then it is the same as if `vm:100`, `vm:101` and `vm:102` would have been
in a single positive resource affinity rule.
+NOTE: If the HA resources of a positive resource affinity rule are currently
+running on different nodes, the CRS will move the HA resources to the node,
+where most of them are running already. If there is a tie in the HA resource
+count, the node whose name appears first in alphabetical order is selected.
+
However, suppose there are computationally expensive, and/or distributed
programs running on the HA resources `vm:200` and `ct:300`, for example,
sharded database instances. In that case, running them on the same node could
--
2.47.2
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-08-05 7:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-05 7:58 [pve-devel] [PATCH docs v2 1/4] ha: rules: update about mixed usage of node and resource affinity rules Daniel Kral
2025-08-05 7:58 ` Daniel Kral [this message]
2025-08-05 7:58 ` [pve-devel] [PATCH docs v2 3/4] ha: mark ha groups as deprecated and note migration to node " Daniel Kral
2025-08-05 7:58 ` [pve-devel] [PATCH docs v2 4/4] ha: replace in-text references to ha groups with ha rules Daniel Kral
2025-08-05 13:35 ` [pve-devel] applied: [PATCH docs v2 1/4] ha: rules: update about mixed usage of node and resource affinity rules Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250805075944.35405-2-d.kral@proxmox.com \
--to=d.kral@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.