Skip to content

Commit

Permalink
Fix DRBD disconnect steps (#413)
Browse files Browse the repository at this point in the history
bsc#1229715
jsc#DOCTEAM-1550
  • Loading branch information
tahliar committed Aug 29, 2024
1 parent eaf2adf commit 6f0610c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions xml/ha_drbd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1337,15 +1337,14 @@ resource r0-U {
To resolve this situation, enter the following commands on the node which has
data to be discarded:
</para>
<screen>&prompt.root;<command>drbdadm</command> secondary r0</screen>
<para>
If the state is in <literal>WFconnection</literal>, disconnect first:
</para>
<screen>&prompt.root;<command>drbdadm</command> disconnect r0</screen>
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
&prompt.root;<command>drbdadm secondary r0</command>
&prompt.root;<command>drbdadm connect --discard-my-data r0</command></screen>
<para>
On the node which has the latest data enter the following:
On the node which has the latest data, enter the following commands:
</para>
<screen>&prompt.root;<command>drbdadm</command> connect --discard-my-data r0</screen>
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
&prompt.root;<command>drbdadm connect r0</command></screen>
<para>
That resolves the issue by overwriting one node's data with the peer's
data, therefore getting a consistent view on both nodes.
Expand Down

0 comments on commit 6f0610c

Please sign in to comment.