From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 9D5821FF0E1 for ; Mon, 13 Jul 2026 14:44:18 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id AB28D2148B; Mon, 13 Jul 2026 14:44:12 +0200 (CEST) Message-ID: <8e98e1f7-e8b8-402d-987a-015bf40acb99@proxmox.com> Date: Mon, 13 Jul 2026 14:44:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: David Riley Subject: Re: [PATCH docs v2 11/12] ha-manager: rules: adapt rule configuration examples To: Daniel Kral , pve-devel@lists.proxmox.com References: <20260602100226.180071-1-d.kral@proxmox.com> <20260602100226.180071-12-d.kral@proxmox.com> Content-Language: en-US In-Reply-To: <20260602100226.180071-12-d.kral@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1783946634282 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.247 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: R3RZUFRA3M2TMSHE7IQIRWCCV3T2TVK7 X-Message-ID-Hash: R3RZUFRA3M2TMSHE7IQIRWCCV3T2TVK7 X-MailFrom: d.riley@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: consider this: Reviewed-by: David Riley On 6/2/26 12:03 PM, Daniel Kral wrote: > The section config writer does order the options slightly different, so > adapt these to make the configuration examples deterministic. > > Signed-off-by: Daniel Kral > --- > changes since v1: > - new > > ha-manager.adoc | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/ha-manager.adoc b/ha-manager.adoc > index 479b539..802e5b9 100644 > --- a/ha-manager.adoc > +++ b/ha-manager.adoc > @@ -763,13 +763,13 @@ The above commands create the following rules in the rules configuration file: > .Node Affinity Rules Configuration Example (`/etc/pve/ha/rules.cfg`) > ---- > node-affinity: ha-rule-vm100 > - resources vm:100 > nodes node1 > + resources vm:100 > strict 1 > > node-affinity: priority-cascade > - resources vm:200,ct:300 > nodes node1:2,node2:1,node3:1,node4 > + resources vm:200,ct:300 > ---- > > Node Affinity Rule Properties > @@ -832,12 +832,12 @@ The above commands created the following rules in the rules configuration file: > .Resource Affinity Rules Configuration Example (`/etc/pve/ha/rules.cfg`) > ---- > resource-affinity: keep-together > - resources vm:100,vm:200 > affinity positive > + resources vm:100,vm:200 > > resource-affinity: keep-separate > - resources vm:200,ct:300 > affinity negative > + resources vm:200,ct:300 > ---- > > Interactions between Positive and Negative Resource Affinity Rules