Skip to content

Commit b5bc640

Browse files
authored
Fix DRBD disconnect steps (#413)
bsc#1229715 jsc#DOCTEAM-1550
1 parent ab2ea39 commit b5bc640

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
@@ -1131,15 +1131,14 @@ resource r0-U {
11311131
To resolve this situation, enter the following commands on the node which has
11321132
data to be discarded:
11331133
</para>
1134-
<screen>&prompt.root;<command>drbdadm secondary r0</command></screen>
1135-
<para>
1136-
If the state is in <literal>WFconnection</literal>, disconnect first:
1137-
</para>
1138-
<screen>&prompt.root;<command>drbdadm disconnect r0</command></screen>
1134+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1135+
&prompt.root;<command>drbdadm secondary r0</command>
1136+
&prompt.root;<command>drbdadm connect --discard-my-data r0</command></screen>
11391137
<para>
1140-
On the node which has the latest data enter the following:
1138+
On the node which has the latest data, enter the following commands:
11411139
</para>
1142-
<screen>&prompt.root;<command>drbdadm connect --discard-my-data r0</command></screen>
1140+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1141+
&prompt.root;<command>drbdadm connect r0</command></screen>
11431142
<para>
11441143
That resolves the issue by overwriting one node's data with the peer's
11451144
data, therefore getting a consistent view on both nodes.

0 commit comments

Comments
 (0)