Skip to content

Commit 3134eac

Browse files
committed
Fix DRBD disconnect steps (#413)
bsc#1229715 jsc#DOCTEAM-1550
1 parent c0fafa1 commit 3134eac

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

xml/ha_drbd.xml

+6-7
Original file line numberDiff line numberDiff line change
@@ -1240,15 +1240,14 @@ resource r0-U {
12401240
To resolve this situation, enter the following commands on the node which has
12411241
data to be discarded:
12421242
</para>
1243-
<screen>&prompt.root;<command>drbdadm secondary r0</command></screen>
1244-
<para>
1245-
If the state is in <literal>WFconnection</literal>, disconnect first:
1246-
</para>
1247-
<screen>&prompt.root;<command>drbdadm disconnect r0</command></screen>
1243+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1244+
&prompt.root;<command>drbdadm secondary r0</command>
1245+
&prompt.root;<command>drbdadm connect --discard-my-data r0</command></screen>
12481246
<para>
1249-
On the node which has the latest data enter the following:
1247+
On the node which has the latest data, enter the following commands:
12501248
</para>
1251-
<screen>&prompt.root;<command>drbdadm connect --discard-my-data r0</command></screen>
1249+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1250+
&prompt.root;<command>drbdadm connect r0</command></screen>
12521251
<para>
12531252
That resolves the issue by overwriting one node's data with the peer's
12541253
data, therefore getting a consistent view on both nodes.

0 commit comments

Comments
 (0)