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 7A7FB1FF0A8 for ; Sat, 28 Nov 2026 16:21:57 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 8D963217F5; Sat, 28 Nov 2026 16:21:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stuttgart.de; s=s1022; t=1795878690; bh=0kwROTpC8iWlTmJYhgVrsOdeWxWMpRJ1Xy+iNG7bMQQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZzVE1SpGm+XkAmrfVYvKTg7VdGtkotCpM+ujtom8LUAoc7cpe9PSWA3AeA2xKl2yv H52KUDWD4pcdeMVwNjIfmtV/86fz0JfGPJw7kzr9v6aP6Q5M3pV8VaD8iMTJgngGoH dbe4hRRDLNFz+A4Pbm38T13S7Kc0tbl/+GOzTXS5kYyMQEopzgb+GNO9RSz5PVevcO XIx/2OGnRxQ9avt9M0ELJ55liIm84CwZ3Ws5MTnqZAg5aLefcweQZz5hgGg/bsOX8M MSrnVXlohs3QgusKbJVE/3pNFN4ijAxIqocHACH8h9fc2aSeyHxHSDYshhu90ra+YZ hrb+wVYIN+onw== From: Jakob-Tobias Winter To: pve-devel@lists.proxmox.com Subject: [RFC PATCH docs 11/11] ha-manager: document the stop-on-poweroff property of resources Date: Sat, 28 Nov 2026 16:11:18 +0100 Message-ID: <20261128151118.892037-12-tobias@stuttgart.de> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261128151118.892037-1-tobias@stuttgart.de> References: <20261128151118.892037-1-tobias@stuttgart.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.028 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: UYORLL73ZFQIQ4EB3JPFSF6DIINVDBJK X-Message-ID-Hash: UYORLL73ZFQIQ4EB3JPFSF6DIINVDBJK X-MailFrom: prvs=7495f99b94=tobias@stuttgart.de 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 CC: Jakob-Tobias Winter X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Describe how the cluster wide setting can be overridden for single HA resources. Signed-off-by: Jakob-Tobias Winter --- ha-manager.adoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ha-manager.adoc b/ha-manager.adoc index 8c9f1ea..58a5878 100644 --- a/ha-manager.adoc +++ b/ha-manager.adoc @@ -1172,6 +1172,15 @@ The setting can be enabled in the web interface (`Datacenter` -> `Options` -> ha: stop-on-poweroff=1 ---- +It can also be set for single resources, which overrides the cluster wide +setting in both directions. This allows, for example, to keep a few virtual +machines started at all times, while all others stay stopped after a poweroff +from within the guest: + +---- +# ha-manager set vm:100 --stop-on-poweroff 0 +---- + A virtual machine that crashes, or whose process gets killed, is still started again, and so is one that reboots. The setting has no effect on containers. -- 2.53.0