<div dir="ltr"><br><div class="gmail_extra">Roland, thanks for the reply see my reply below</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 28, 2016 at 3:38 AM, Roland Kammerer <span dir="ltr"><<a href="mailto:roland.kammerer@linbit.com" target="_blank">roland.kammerer@linbit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Dec 27, 2016 at 10:17:32AM -0600, T.J. Yang wrote:<br>
> Hi<br>
><br>
> I am testing out latest DRBD9 rpms, hoping to create bravo,alpha and<br>
> charlie 3 nodes cluster. Need pointer on where I did wrong.<br>
><br>
</span><span class="">> 2. Trying add 2nd node alpha from bravo node.<br>
><br>
> drbdmanage add-node alpha 192.168.174.136<br>
><br>
> The command failed after waiting on server (which server ?)<br>
<br>
</span>Its a client/server application, the server is drbdmanaged.<br>
<span class=""><br>
> I login into alpha to run the command manually.<br>
><br>
> [root@alpha drbd9-rpms]# /bin/python /usr/bin/drbdmanage join -p 6999<br>
> 192.168.174.136 1 bravo 192.168.174.141 0 AMcP2OIcqCwO+iTer5Bx<br>
<br>
</span>That was spit out by the failed autojoin or by "howto-join", or manually<br>
crafted?<br></blockquote><div><br></div><div>I copy it out of htop output on alpha node, this command was issued to alpha from bravo by drbdmanage init command. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> Waiting for server: ...............<br>
> Error: Server currently not ready, please retry later<br>
<br>
</span>drbdmanaged failed to start up, because it failed on DRBD level.<br>
<span class=""><br>
> [ 9031.805838] drbd .drbdctrl alpha: Starting receiver thread (from<br>
> drbd_w_.drbdctr [42225])<br>
> [ 9031.806840] drbd .drbdctrl alpha: conn( Unconnected -> Connecting )<br>
> [ 9031.807425] drbd .drbdctrl tcp:alpha: bind before listen failed, err =<br>
> -99<br>
> [ 9031.808002] drbd .drbdctrl alpha: Failed to initiate connection, err=-99<br>
> [ 9031.808551] drbd .drbdctrl alpha: conn( Connecting -> Disconnecting )<br>
> [ 9031.811144] drbd .drbdctrl alpha: Connection closed<br>
> [ 9031.813713] drbd .drbdctrl alpha: conn( Disconnecting -> StandAlone )<br>
> [ 9031.814300] drbd .drbdctrl alpha: Terminating receiver thread<br>
> [ 9166.872047] drbd .drbdctrl alpha: Terminating sender thread<br>
<br>
</span>That is the real issue. DRBD creates a kernel socket and calls<br>
sock->ops->bind(). This returns -99, which is -EADDRNOTAVAIL. So the<br>
question is why wouldn't it be available?</blockquote><div><br></div><div>Because I had firealld.service enabled, my bad.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Everything right with your IP<br>
addresses? If you have multiple you used the one you want to use for<br>
cluster communication on "init"? The nodes can reach each other and<br>
everything is nice and cozy from a network point of view?<br></blockquote><div><br></div><div>I missed checking firewalld step. once I fix that I am all good to test out drbd9 ;)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> [root@bravo log]# drbdmanage n<br>
> +-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>----------------+<br>
> | Name | Pool Size | Pool Free | |<br>
> State |<br>
> |-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>----------------|<br>
> | alpha | unknown | unknown | | offline/quorum vote ignored,<br>
> pending actions: adjust connections |<br>
> | bravo | 4088 | 4080 | |<br>
> ok |<br>
> +-----------------------------<wbr>------------------------------<wbr>------------------------------<wbr>----------------+<br>
<br>
</span>"normal", as the control volumes did not connect.<br>
<br>
Regards, rck<br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.linbit.com/<wbr>mailman/listinfo/drbd-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">T.J. Yang</div>
</div></div>