No, there is no firewall setup, but same question again, it may be
stupid. How long does a drbd node wait for changing the other node to
unknown state ( i guess this is done through different timeout
parameters etc.), and if the other server comes back up again, is it
changed normally or not?<br>
<br>
on-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";<br>
halt -f? <br>
<br>
Usman<br><br><div><span class="gmail_quote">On 9/15/06, <b class="gmail_sendername">Tim Jackson</b> <<a href="mailto:lists@timj.co.uk">lists@timj.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Usman Ahmad wrote:<br><br>> The primary server waited for some time on boot up and then came up.<br>> I want the auto-failback on ?<br><br>Are you *really* sure? Are you 100% sure you know what it means?<br>You should at least turn it off while you try to debug your setup.
<br>DRBD can work with it turned on; it just causes unnecessary transitions.<br>Even if you have a "preferred" machine, it's probably best that you fail<br>back to it manually once you're sure everything is fine.
<br><br>In a peer cluster there is rarely a need to automatically fail back to<br>one machine as the whole point is they are peers. (That's not to say<br>there aren't legitimate reasons to use it, just that there are many
<br>cases where it's not necessary)<br><br>> Yes, the servers were connected, even if I shutdown the heratbeat the<br>> disk is shifted to the secondary server, but they remain in standalone<br>> mode, the drbd can talk to each other as the (Secondary server) changed
<br>> states from primary/unknown to secondary/unkown.<br><br>This doesn't mean DRBD can communicate. On the contrary, the "Unknown"<br>means that it can't. The fact it changed state is probably because<br>Heartbeat changed the state of DRBD.
<br><br>Have you checked your firewall? It's common for people to forget to<br>allow DRBD through the firewall between the nodes.<br><br>> I do not understand why? can't find much in the logs, what thing should<br>> I look for specifically?
<br><br>Anything to do with DRBD in the first instance! Just read the logs and<br>follow the logical process through. DRBD/Heartbeat are both quite<br>verbose and tells you lots about what they are doing. After you do that,
<br>if you still don't understand, point us towards the specific items in<br>the log where you don't understand.<br><br>> Is it ok to start the heartbeat and the drbd processes at boot time<br>> automatically?<br><br>
Yes, and you probably want to do that.<br><br>Tim<br>_______________________________________________<br>drbd-user mailing list<br><a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user">
http://lists.linbit.com/mailman/listinfo/drbd-user</a><br></blockquote></div><br><br clear="all"><br>-- <br>Usman Ahmad Malik