Skip to content

Commit 12361a7

Browse files
committed
Fix DRBD disconnect steps (#413)
bsc#1229715 jsc#DOCTEAM-1550
1 parent 61a7349 commit 12361a7

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
@@ -1241,15 +1241,14 @@ resource r0-U {
12411241
To resolve this situation, enter the following commands on the node which has
12421242
data to be discarded:
12431243
</para>
1244-
<screen>&prompt.root;<command>drbdadm</command> secondary r0</screen>
1245-
<para>
1246-
If the state is in <literal>WFconnection</literal>, disconnect first:
1247-
</para>
1248-
<screen>&prompt.root;<command>drbdadm</command> disconnect r0</screen>
1244+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1245+
&prompt.root;<command>drbdadm secondary r0</command>
1246+
&prompt.root;<command>drbdadm connect --discard-my-data r0</command></screen>
12491247
<para>
1250-
On the node which has the latest data enter the following:
1248+
On the node which has the latest data, enter the following commands:
12511249
</para>
1252-
<screen>&prompt.root;<command>drbdadm</command> connect --discard-my-data r0</screen>
1250+
<screen>&prompt.root;<command>drbdadm disconnect r0</command>
1251+
&prompt.root;<command>drbdadm connect r0</command></screen>
12531252
<para>
12541253
That resolves the issue by overwriting one node's data with the peer's
12551254
data, therefore getting a consistent view on both nodes.

0 commit comments

Comments
 (0)