Skip to content

Commit 6f0610c

Browse files
committed
Fix DRBD disconnect steps (#413)
bsc#1229715 jsc#DOCTEAM-1550
1 parent eaf2adf commit 6f0610c

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
@@ -1337,15 +1337,14 @@ resource r0-U {
13371337
To resolve this situation, enter the following commands on the node which has
13381338
data to be discarded:
13391339
</para>
1340-
<screen>&prompt.root;<command>drbdadm</command> secondary r0</screen>
1341-
<para>
1342-
If the state is in <literal>WFconnection</literal>, disconnect first:
1343-
</para>
1344-
<screen>&prompt.root;<command>drbdadm</command> disconnect r0</screen>
1340+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1341+
&prompt.root;<command>drbdadm secondary r0</command>
1342+
&prompt.root;<command>drbdadm connect --discard-my-data r0</command></screen>
13451343
<para>
1346-
On the node which has the latest data enter the following:
1344+
On the node which has the latest data, enter the following commands:
13471345
</para>
1348-
<screen>&prompt.root;<command>drbdadm</command> connect --discard-my-data r0</screen>
1346+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1347+
&prompt.root;<command>drbdadm connect r0</command></screen>
13491348
<para>
13501349
That resolves the issue by overwriting one node's data with the peer's
13511350
data, therefore getting a consistent view on both nodes.

0 commit comments

Comments
 (0)