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 f57098a commit 132a80b
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 @@ -1132,15 +1132,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 secondary r0</command></screen>
<para>
If the state is in <literal>WFconnection</literal>, disconnect first:
</para>
<screen>&prompt.root;<command>drbdadm disconnect r0</command></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 connect --discard-my-data r0</command></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 132a80b

Please sign in to comment.