<div class="gmail_quote">Hi,<br><br>I&#39;m testing split-brain in a master/slave scenario with dopd and have some doubts about the automatic recovery procedure. The steps I took were:<br><br>1º Unplug the crossover cable<br>
<br>Master:<br><br>Primary/Unknown ds:UpToDate/Outdated<br>
<br>Slave:<br><br>StandAlone ro:Secondary/Unknown ds:Consistent/DUnknown<br><br>2º Plug the cable back on:<br><br>Both nodes remain with the same state: Update/Outdated and Consistent/Unknown<br><br>My question is: shouldn&#39;t the slave rejoin/resync to the master automatically after I plug the cable?<br>

<br>I have to manually  run: &quot;drbdadm adjust all&quot; to recover it. <br><br>My conf (centos 5.3; drbd 8.3.1; heartbeat 2.99)<br><br>/etc/drbd.conf<br><br>global<br>{<br>usage-count no;<br>}<br>common<br>{<br>syncer<br>

{<br>rate 10M;<br>}<br>}<br>resource &quot;r0&quot;<br>{<br>handlers {<br>        outdate-peer &quot;/usr/lib/heartbeat/drbd-peer-outdater -t 5&quot;;<br>    }<br><br>protocol C;<br>on ha1.teste.local<br>{<br>device /dev/drbd0;<br>

disk /dev/sdb1;<br>address <a href="http://10.2.0.3:7789" target="_blank">10.2.0.3:7789</a>;<br>meta-disk internal;<br>}<br>on ha2.teste.local<br>{<br>device /dev/drbd0;<br>disk /dev/sdb1;<br>address <a href="http://10.2.0.4:7789" target="_blank">10.2.0.4:7789</a>;<br>

meta-disk internal;<br>}<br>disk<br>{<br>on-io-error detach;<br>fencing resource-only;<br>}<br>net<br>{<br>after-sb-0pri discard-least-changes;<br>after-sb-1pri consensus;<br>after-sb-2pri disconnect;<br>max-buffers 2048;<br>

ko-count 4;<br>}<br>syncer<br>{<br>rate 10M;<br>al-extents 257;<br>}<br>startup<br>{<br>wfc-timeout 90;<br>degr-wfc-timeout 60;<br>}<br>}<br><br>/etc/ha.d/<a href="http://ha.cf" target="_blank">ha.cf</a><br><br>debugfile /var/log/ha-debug<br>

logfile /var/log/ha-log<br>logfacility local0<br>keepalive 2<br>deadtime 15<br>initdead 120<br>mcast eth0 239.0.0.1 694 1 0<br>bcast eth1<br>udpport 694<br>auto_failback off<br>node ha1.teste.local<br>node ha2.teste.local<br>

respawn hacluster /usr/lib/heartbeat/dopd<br>apiauth dopd gid=haclient uid=hacluster<br>respawn hacluster /usr/lib/heartbeat/ipfail<br>ping 192.168.0.1<br><br>Thanks,<br>PGSousa<br><br><br><br><br><br><br><br><br><br><br>

</div><br>