does it matter that the hostname are in an DNS Server?<br>Can I just add 2 entries to my hosts file with the new IP addresses on eth1?<br>I just had another crash and would like to solve this todays, if possible.<br><br><br>
thnx<br><br>.r<br><br><br><div class="gmail_quote">On Tue, Jul 7, 2009 at 1:18 PM, Heiko <span dir="ltr">&lt;<a href="mailto:rupertt@gmail.com">rupertt@gmail.com</a>&gt;</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;">
<br><br><div class="gmail_quote"><div class="im">On Tue, Jul 7, 2009 at 12:14 PM, Heiko <span dir="ltr">&lt;<a href="mailto:rupertt@gmail.com" target="_blank">rupertt@gmail.com</a>&gt;</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;">

Hello,<br><br>I want to switch from one line to 2 lines. I have a dedicated line without any switches now.<br>How do I have to change the heartbeat and drbd config to use both lines?<br>Can I just add the new IPs to the <a href="http://ha.cf" target="_blank">ha.cf</a>? Hostname will be the same<div>

<br>
<br>#use_logd on<br>logfile /var/log/ha-log<br>debugfile /var/log/ha-debug<br>logfacility local0<br>keepalive 2<br>deadtime 10<br>warntime 3<br>initdead 20<br>udpport 694<br></div>ucast eth0 172.17.8.201 #old<br>ucast eth0 172.17.8.202 #old<br>


ucast eth0 172.31.0.1 #new<br>
ucast eth0 172.31.0.2 #new</blockquote></div><div><br>of cource I meant &quot;ucast eth1  <a href="http://172.31.0.1/2" target="_blank">172.31.0.1/2</a>&quot; <br></div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
node xen-a1<br>node xen-b1<br>auto_failback on<br><br><br>How do i have to change the drbd.conf, should I only use the dedicated LAN?<br>What happens when I only use the dedicated LAN an restart drbd/heartbeat, will i <br>


get a splitbrain because they see each other not during that restart?<br><br>resource bloon {<br>  protocol C;<div><br>  startup {<br>    degr-wfc-timeout 120;    # 2 minutes.<br>    degr-wfc-timeout 120; ## 2 minutes.<br>

  }<br>
  disk {<br>    on-io-error   detach;<br>  }<br>  net {<br></div>        after-sb-0pri disconnect;<br>        after-sb-1pri disconnect;<br>        after-sb-2pri disconnect;<br><br>#       allow-two-primaries;<br>        after-sb-0pri discard-zero-changes;<br>


        after-sb-1pri discard-secondary;<br>        timeout 60;<br>#       connect-int 10;<br>#       ping-int 10;<br>#       max-buffers 2048;<br>#       max-epoch-size 2048;<br>  }<br>  syncer {<br>#    group 100;<br>    al-extents 257;<br>


        rate 20M;<br>  }<br><br>  on xen-a1 {<br>    device    /dev/drbd0;<br>    disk      /dev/VolGroup00/lv_bloon;<br>    address   <a href="http://172.17.8.201:7788" target="_blank">172.17.8.201:7788</a>;<br><br>    meta-disk internal;<br>


  }<br><br>  on xen-b1 {<br>    device    /dev/drbd0;<br>    disk      /dev/VolGroup00/lv_bloon;<br>    address   <a href="http://172.17.8.202:7788" target="_blank">172.17.8.202:7788</a>;<br>    meta-disk internal;<br>  }<br>

}<br><br><br>
greetings<br><br><br>.r<br><br><div class="gmail_quote"><div><div></div><div>On Sat, Jul 4, 2009 at 3:58 AM, Scott Inderlied <span dir="ltr">&lt;<a href="mailto:scott@northwestcomputer.biz" target="_blank">scott@northwestcomputer.biz</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>












<div link="blue" vlink="purple" lang="EN-US">

<div><div>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><a href="http://ha.cf" target="_blank">ha.cf</a><br>
<br>
#<span>use_logd</span> on<br>
<span>logfile</span> /<span>var</span>/log/ha-log<br>
<span>debugfile</span> /<span>var</span>/log/ha-debug<br>
<span>logfacility</span> local0<br>
<span>keepalive</span> 2<br>
<span>deadtime</span> 10<br>
<span>warntime</span> 3<br>
<span>initdead</span> 20<br>
<span>udpport</span> 694<br>
<span>ucast</span> eth0 172.20.1.1<br>
<span>ucast</span> eth0 172.20.2.1</span></font></p>

</div><p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"># using different subnets won’t make any difference. Install another <span>nic</span> and use a crossover or us a serial cable. What you
experienced is by design to prevent <span>splitbrain</span> <br><div>
node xen-A1.fra1.mailcluster<br>
node xen-B1.fra1.mailcluster<br>
<span>auto_failback</span> on</div></span></font><font size="2" color="black" face="Lucida Console"><span style="font-size: 11pt; font-family: &quot;Lucida Console&quot;; color: black;"></span></font></p>

<p><a name="12254eff337d2405_12254b5185d9cdac_122437c6249a61a4__MailEndCompose"><font size="2" color="black" face="Lucida Console"><span style="font-size: 11pt; font-family: &quot;Lucida Console&quot;; color: black;"> </span></font></a></p>



<span></span>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt;"> <a href="mailto:drbd-user-bounces@lists.linbit.com" target="_blank">drbd-user-bounces@lists.linbit.com</a>
[mailto:<a href="mailto:drbd-user-bounces@lists.linbit.com" target="_blank">drbd-user-bounces@lists.linbit.com</a>] <b><span style="font-weight: bold;">On
Behalf Of </span></b>Heiko<div><br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, July 03, 2009 09:01<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [DRBD-user] switch was
down, all drbd machines rebootet</div></span></font></p>

</div>

</div>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Hello,<div><div></div><div><br>
<br>
i had an earlier discussion here where we came to the conclusion that using
Protocol C can cause crashes.<br>
Yesterday we had problems with one of our switches and therefore the drbd
enabled machines couldnt see each other,<br>
than all the machines did reboots, created splitbrains and a lot of work.<br>
Do you think the crashes/reboots are caused by the same problem or can we
prevent this behavouir by optimizing our<br>
heartbeat drbd config? Ill attach a drbd config and the <a href="http://ha.cf" target="_blank">ha.cf</a><br>
<br>
---------------------------------<br>
drbd.conf<br>
<br>
common {<br>
  protocol C;<br>
}<br>
<br>
<br>
<br>
resource drbd_backend {<br>
  startup {<br>
    degr-wfc-timeout 120;    # 2 minutes.<br>
  }<br>
  disk {<br>
    on-io-error   detach;<br>
  }<br>
  net {<br>
  }<br>
  syncer {<br>
        rate 500M;<br>
        al-extents 257;<br>
  }<br>
<br>
  on xen-B1.fra1.mailcluster {<br>
    device    /dev/drbd0;<br>
    disk      /dev/md3;<br>
    address   <a href="http://172.20.2.1:7788" target="_blank">172.20.2.1:7788</a>;<br>
    meta-disk internal;<br>
  }<br>
  on xen-A1.fra1.mailcluster {<br>
    device    /dev/drbd0;<br>
    disk      /dev/md3;<br>
    address   <a href="http://172.20.1.1:7788" target="_blank">172.20.1.1:7788</a>;<br>
    meta-disk internal;<br>
  }<br>
}<br>
<br>
---------------------------------------<br>
<a href="http://ha.cf" target="_blank">ha.cf</a><br>
<br>
#use_logd on<br>
logfile /var/log/ha-log<br>
debugfile /var/log/ha-debug<br>
logfacility local0<br>
keepalive 2<br>
deadtime 10<br>
warntime 3<br>
initdead 20<br>
udpport 694<br>
ucast eth0 172.20.1.1<br>
ucast eth0 172.20.2.1<br>
node xen-A1.fra1.mailcluster<br>
node xen-B1.fra1.mailcluster<br>
auto_failback on<br>
<br>
<br>
<br>
thnx a lot<br>
<br>
<br>
.r</div></div></span></font></p>

</div>

</div>

</div>


<br></div></div>_______________________________________________<br>
drbd-user mailing list<div><br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
</div><div><a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
<br></div></blockquote></div><br>
</blockquote></div></div></div><br>
</blockquote></div><br>