From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 5BE2E69D70 for ; Wed, 15 Sep 2021 15:37:00 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4FF981976E for ; Wed, 15 Sep 2021 15:36:30 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 402E619761 for ; Wed, 15 Sep 2021 15:36:29 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 1669D4488A for ; Wed, 15 Sep 2021 15:36:29 +0200 (CEST) From: Dylan Whyte To: pve-devel@lists.proxmox.com Date: Wed, 15 Sep 2021 15:36:18 +0200 Message-Id: <20210915133618.143859-6-d.whyte@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210915133618.143859-1-d.whyte@proxmox.com> References: <20210915133618.143859-1-d.whyte@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.454 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH pve-docs 6/6] fix 3375: warn user to remove replication jobs X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2021 13:37:00 -0000 this adds a warning in the documentation to remove any replication jobs before deleting a cluster node Signed-off-by: Dylan Whyte --- pvecm.adoc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pvecm.adoc b/pvecm.adoc index e7140a6..0b1857e 100644 --- a/pvecm.adoc +++ b/pvecm.adoc @@ -304,9 +304,17 @@ Remove a Cluster Node CAUTION: Read the procedure carefully before proceeding, as it may not be what you want or need. -Move all virtual machines from the node. Make sure you have made copies of any -local data or backups that you want to keep. In the following example, we will -remove the node hp4 from the cluster. +Move all virtual machines from the node. Ensure that you have made copies of any +local data or backups that you want to keep. In addition, make sure to remove +any scheduled replication jobs to the node to be removed. + +CAUTION: Failure to remove replication jobs to a node before removing said node +will result in the replication job becoming irremovable. Especially note that +replication automatically switches direction if a replicated VM is migrated, so +by migrating a replicated VM from a node to be deleted, replication jobs will be +set up to that node automatically. + +In the following example, we will remove the node hp4 from the cluster. Log in to a *different* cluster node (not hp4), and issue a `pvecm nodes` command to identify the node ID to remove: -- 2.30.2