From 7ec7bcee119c2e8a0c2b49cfd5f41478f615b7fb Mon Sep 17 00:00:00 2001 From: Dylan Whyte Date: Wed, 15 Sep 2021 15:36:18 +0200 Subject: [PATCH] fix #3375: warn user to remove replication jobs 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: