Hi,<br><br>can you help me with this? I can't figure it out why it goes "StandAlone".<br><br>Regards,<br>Pedro Sousa<br><br><div class="gmail_quote">On Thu, May 28, 2009 at 6:49 PM, Pedro Sousa <span dir="ltr"><<a href="mailto:pgsousa@gmail.com">pgsousa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Can you check it please?<br><br>May 27 19:38:35 ha2 heartbeat: [2426]: ERROR: glib: Unable to send bcast [-1] packet(len=217): No such device<br>
May 27 19:38:35 ha2 heartbeat: [2426]: ERROR: write_child: write failure on bcast eth1.: No such device<br>
May 27 19:38:37 ha2 heartbeat: [2426]: ERROR: glib: Unable to send bcast [-1] packet(len=217): No such device<br>May 27 19:38:37 ha2 heartbeat: [2426]: ERROR: write_child: write failure on bcast eth1.: No such device<br>
May 27 19:38:38 ha2 kernel: drbd0: PingAck did not arrive in time.<br>
May 27 19:38:38 ha2 kernel: drbd0: peer( Primary -> Unknown ) conn( Connected -> NetworkFailure ) pdsk( UpToDate -> DUnknown ) <br>May 27 19:38:38 ha2 kernel: drbd0: asender terminated<br>May 27 19:38:38 ha2 kernel: drbd0: Terminating asender thread<br>
May 27 19:38:38 ha2 kernel: drbd0: short read expecting header on sock: r=-512<br>May 27 19:38:38 ha2 kernel: drbd0: Writing meta data super block now.<br>May 27 19:38:38 ha2 kernel: drbd0: tl_clear()<br>May 27 19:38:38 ha2 kernel: drbd0: Connection closed<br>
May 27 19:38:38 ha2 kernel: drbd0: conn( NetworkFailure -> Unconnected ) <br>May 27 19:38:38 ha2 kernel: drbd0: receiver terminated<br>May 27 19:38:38 ha2 kernel: drbd0: receiver (re)started<br>May 27 19:38:38 ha2 kernel: drbd0: conn( Unconnected -> WFConnection ) <br>
May 27 19:38:38 ha2 kernel: drbd0: Unable to bind source sock (-99)<br>May 27 19:38:38 ha2 last message repeated 2 times<br>May 27 19:38:38 ha2 kernel: drbd0: Unable to bind sock2 (-99)<br>May 27 19:38:38 ha2 kernel: drbd0: conn( WFConnection -> Disconnecting ) <br>
May 27 19:38:38 ha2 kernel: drbd0: Discarding network configuration.<br>May 27 19:38:38 ha2 kernel: drbd0: tl_clear()<br>May 27 19:38:38 ha2 kernel: drbd0: Connection closed<br>May 27 19:38:38 ha2 kernel: drbd0: conn( Disconnecting -> StandAlone ) <br>
May 27 19:38:38 ha2 kernel: drbd0: receiver terminated<br>May 27 19:38:38 ha2 kernel: drbd0: Terminating receiver thread<br>May 27 19:38:39 ha2 heartbeat: [2426]: ERROR: glib: Unable to send bcast [-1] packet(len=217): No such device<br>
May 27 19:38:39 ha2 heartbeat: [2426]: ERROR: write_child: write failure on bcast eth1.: No such device<br>May 27 19:38:40 ha2 kernel: drbd0: disk( UpToDate -> Outdated ) <br>May 27 19:38:40 ha2 kernel: drbd0: Writing meta data super block now.<br>
May 27 19:38:40 ha2 /usr/lib/heartbeat/dopd: [2513]: info: sending return code: 4, ha2.teste.local -> ha1.teste.local <br>May 27 19:38:41 ha2 heartbeat: [2426]: ERROR: glib: Unable to send bcast [-1] packet(len=310): No such device<br>
May 27 19:38:41 ha2 heartbeat: [2426]: ERROR: write_child: write failure on bcast eth1.: No such device<br>May 27 19:38:41 ha2 heartbeat: [2426]: ERROR: glib: Unable to send bcast [-1] packet(len=217): No such device<br>
May 27 19:38:41 ha2 heartbeat: [2426]: ERROR: write_child: write failure on bcast eth1.: No such device<br>
May 27 19:38:43 ha2 heartbeat: [2426]: ERROR: glib: Unable to send bcast [-1] packet(len=217): No such device<br>May 27 19:38:43 ha2 heartbeat: [2426]: ERROR: write_child: write failure on bcast eth1.: No such device<br>
May 27 19:38:45 ha2 heartbeat: [2408]: info: Link ha1.teste.local:eth1 dead.<br>
May 27 19:38:45 ha2 ipfail: [2514]: info: Link Status update: Link ha1.teste.local/eth1 now has status dead<br>May 27 19:38:45 ha2 heartbeat: [2426]: ERROR: glib: Unable to send bcast [-1] packet(len=217): No such device<br>
May 27 19:38:45 ha2 heartbeat: [2426]: ERROR: write_child: write failure on bcast eth1.: No such device<br>May 27 19:38:46 ha2 ipfail: [2514]: info: Asking other side for ping node count.<br>May 27 19:38:46 ha2 ipfail: [2514]: info: Checking remote count of ping nodes.<br>
May 27 19:38:46 ha2 heartbeat: [2426]: ERROR: glib: Unable to send bcast [-1] packet(len=223): No such device<br>May 27 19:38:46 ha2 heartbeat: [2426]: ERROR: write_child: write failure on bcast eth1.: No such device<br>
May 27 19:38:46 ha2 heartbeat: [2426]: WARN: Temporarily Suppressing write error messages<br>
May 27 19:38:46 ha2 heartbeat: [2426]: WARN: Is a cable unplugged on bcast eth1?<br>May 27 19:38:47 ha2 ipfail: [2514]: info: Ping node count is balanced.<br>May 27 19:38:48 ha2 ipfail: [2514]: info: No giveup timer to abort.<br>
May 27 19:39:06 ha2 kernel: eth1: link up<br><br>Regards,<br><font color="#888888">Pedro Sousa</font><div><div></div><div class="h5"><br><br><br><br><div class="gmail_quote">On Thu, May 28, 2009 at 4:51 PM, Lars Ellenberg <span dir="ltr"><<a href="mailto:lars.ellenberg@linbit.com" target="_blank">lars.ellenberg@linbit.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Thu, May 28, 2009 at 01:46:43PM +0100, Pedro Sousa wrote:<br>
> Hi,<br>
><br>
> I'm testing split-brain in a master/slave scenario with dopd and have some<br>
> 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<br>
> Consistent/Unknown<br>
><br>
> My question is: shouldn't the slave rejoin/resync to the master<br>
> automatically after I plug the cable?<br>
><br>
> I have to manually run: "drbdadm adjust all" to recover it.<br>
<br>
</div>once a node reaches "StandAlone",<br>
you have to tell it to try and reconnect, yes.<br>
<br>
so this is how it is supposed to be.<br>
<br>
why it goes to "StandAlone" should be in the logs.<br>
<div><br>
> My conf (centos 5.3; drbd 8.3.1; heartbeat 2.99)<br>
><br>
> /etc/drbd.conf<br>
<br>
</div></snip><br>
<br>
<br>
--<br>
: Lars Ellenberg<br>
: LINBIT | Your Way to High Availability<br>
: DRBD/HA support and consulting <a href="http://www.linbit.com" target="_blank">http://www.linbit.com</a><br>
<br>
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.<br>
__<br>
please don't Cc me, but send to list -- I'm subscribed<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>