From b5bc6400aef21667db653c1ac96b1aafdd83df14 Mon Sep 17 00:00:00 2001 From: Tahlia Richardson <3069029+tahliar@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:36:35 +1000 Subject: [PATCH] Fix DRBD disconnect steps (#413) bsc#1229715 jsc#DOCTEAM-1550 --- xml/ha_drbd.xml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/xml/ha_drbd.xml b/xml/ha_drbd.xml index 7c144ba40..58eb4af8f 100644 --- a/xml/ha_drbd.xml +++ b/xml/ha_drbd.xml @@ -1131,15 +1131,14 @@ resource r0-U { To resolve this situation, enter the following commands on the node which has data to be discarded: -&prompt.root;drbdadm secondary r0 - - If the state is in WFconnection, disconnect first: - - &prompt.root;drbdadm disconnect r0 +&prompt.root;drbdadm disconnect r0 +&prompt.root;drbdadm secondary r0 +&prompt.root;drbdadm connect --discard-my-data r0 - On the node which has the latest data enter the following: + On the node which has the latest data, enter the following commands: -&prompt.root;drbdadm connect --discard-my-data r0 +&prompt.root;drbdadm disconnect r0 +&prompt.root;drbdadm connect r0 That resolves the issue by overwriting one node's data with the peer's data, therefore getting a consistent view on both nodes.