From 132a80bf91cbc24da11927561f7ddf9135cd2c05 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 92c7ed683..b64a3033b 100644 --- a/xml/ha_drbd.xml +++ b/xml/ha_drbd.xml @@ -1132,15 +1132,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.