Skip to content

Commit 1dfef11

Browse files
committed
Fix DRBD disconnect steps (#413)
bsc#1229715 jsc#DOCTEAM-1550
1 parent 7b1c23e commit 1dfef11

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
@@ -1323,15 +1323,14 @@ resource r0-U {
13231323
To resolve this situation, enter the following commands on the node which has
13241324
data to be discarded:
13251325
</para>
1326-
<screen>&prompt.root;<command>drbdadm</command> secondary r0</screen>
1327-
<para>
1328-
If the state is in <literal>WFconnection</literal>, disconnect first:
1329-
</para>
1330-
<screen>&prompt.root;<command>drbdadm</command> disconnect r0</screen>
1326+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1327+
&prompt.root;<command>drbdadm secondary r0</command>
1328+
&prompt.root;<command>drbdadm connect --discard-my-data r0</command></screen>
13311329
<para>
1332-
On the node which has the latest data enter the following:
1330+
On the node which has the latest data, enter the following commands:
13331331
</para>
1334-
<screen>&prompt.root;<command>drbdadm</command> connect --discard-my-data r0</screen>
1332+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1333+
&prompt.root;<command>drbdadm connect r0</command></screen>
13351334
<para>
13361335
That resolves the issue by overwriting one node's data with the peer's
13371336
data, therefore getting a consistent view on both nodes.

0 commit comments

Comments
 (0)