<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">What about iptables ? Can the machines communicate with each other over this port ?</div><div class="gmail_extra"><br clear="all">
<div><div dir="ltr"><br>--<br><font color="#999999" face="verdana, sans-serif" size="1">Rabin</font></div>
</div>
<br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 9:52 PM, K.R Kishore <span dir="ltr"><<a href="mailto:krkishore@yahoo.com" target="_blank">krkishore@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><blockquote style="border:none;padding:0px"><div>Hi</div><div>I have installed <span class="GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct">drbd</span> on two <span class="GINGER_SOFATWARE_correct">linux</span> machines (Rhel 6.4, 2.6.32-358.6.1) and I am getting this error when I try to start <span class="GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct">drbd</span>.</div>
<div><br></div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><br></div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
# cat /var/drbd/drbd<span class="GINGER_SOFATWARE_correct">.</span><span class="GINGER_SOFATWARE_noSuggestion GINGER_SOFATWARE_correct">conf</span></div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
------------------------------------------------------------</div><div><span class="GINGER_SOFATWARE_correct">global</span> {</div><div><span style="white-space:pre-wrap">        </span><span class="GINGER_SOFATWARE_correct">usage</span>-count <span class="GINGER_SOFATWARE_correct">yes</span>;</div>
<div>}</div><div><br></div><div><span class="GINGER_SOFATWARE_correct">common</span> {</div><div><span style="white-space:pre-wrap">        </span><span class="GINGER_SOFATWARE_correct">net</span> { protocol C; }</div>
<div>}</div><div><br></div><div><span class="GINGER_SOFATWARE_correct">resource</span> res0 {</div><div><span style="white-space:pre-wrap">        </span><span class="GINGER_SOFATWARE_correct">on</span> pc1<span class="GINGER_SOFATWARE_correct">{</span></div>
<div><span style="white-space:pre-wrap">                                                </span> <span class="GINGER_SOFATWARE_correct">device</span> /dev/drbd1;</div><div><span style="white-space:pre-wrap">                </span> <span class="GINGER_SOFATWARE_correct">disk</span> /dev/sdb1;</div>
<div><span style="white-space:pre-wrap">                </span> <span class="GINGER_SOFATWARE_correct">address</span> <a href="http://192.168.10.1:7789" target="_blank">192.168.10.1:7789</a>;</div><div><span style="white-space:pre-wrap">                </span> meta-disk<span style="white-space:pre-wrap">        </span>internal;</div>
<div><span style="white-space:pre-wrap">        </span>}</div><div><span style="white-space:pre-wrap">        </span><span class="GINGER_SOFATWARE_correct">on</span> pc2<span class="GINGER_SOFATWARE_correct">{</span></div><div><span style="white-space:pre-wrap">                </span> <span class="GINGER_SOFATWARE_correct">device</span> /dev/drbd1;</div>
<div><span style="white-space:pre-wrap">                </span> <span class="GINGER_SOFATWARE_correct">disk</span> /dev/sdb1;</div>
<div><span style="white-space:pre-wrap">                </span> <span class="GINGER_SOFATWARE_correct">address</span> <a href="http://192.168.10.2:7789" target="_blank">192.168.10.2:7789</a>;</div><div><span style="white-space:pre-wrap">                </span> meta-disk<span style="white-space:pre-wrap">        </span>internal;</div>
<div><span style="white-space:pre-wrap">        </span>}</div><div>}</div><div>----------------------------------------------------------------</div><div><br></div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
# drbdadm create-<span class="GINGER_SOFATWARE_correct">md</span> res0</div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
'rest0' not defined in your config (for this host)</div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
----------------------------------------------------------------</div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
Some info on my setup</div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
- The two machines are connected back-to-back via 10G link (in addition to a 1G link to internet)</div>
<div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">- The IP address in the conf file is that of the 10G link </div>
<div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">- I have the same conf file on both machines</div>
<div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">- drbd is installed in /var/drbd (and the conf is there, not in /etc/...I know it is picking up this file because I can make a typo here and drbd will flag a syntax error)</div>
<div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">- the disks on sdb1 are accessible</div>
<div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">- drbd is
8.4.4</div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><br></div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
It's probably something simple..What am I missing?</div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
thx,</div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">Kishore</div><div style="font-style:normal;font-size:15.555556297302246px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<br></div></blockquote></div></div><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>
<br></blockquote></div><br></div></div>