<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Alex,<div class=""><br class=""></div><div class="">you have to use bond mode 4 (LACP - 802.3ad) in order to achieve redundancy of cables/ports/switches. I suppose this is what you want.</div><div class=""><br class=""></div><div class="">BR,</div><div class="">Martin</div><div class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 25 Feb 2019, at 11:43, Alex K <<a href="mailto:rightkicktech@gmail.com" class="">rightkicktech@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi All, <br class=""></div><div class=""><br class=""></div><div class="">I was asking if it is possible to have the two separate cables connected to two different physical switched. When trying mode6 or mode1 in this setup gluster was refusing to start the volumes, giving me "transport endpoint is not connected". <br class=""></div><div class=""><br class=""></div><div class="">server1: cable1 ---------------- switch1 --------------------- server2: cable1<br class=""></div><div class=""> |<br class=""></div><div class="">server1: cable2 ---------------- switch2 --------------------- server2: cable2<br class=""></div><div class=""><br class=""></div><div class="">Both switches are connected with each other also. This is done to achieve redundancy for the switches. <br class=""></div><div class="">When disconnecting cable2 from both servers, then gluster was happy. <br class=""></div><div class="">What could be the problem?<br class=""></div><div class=""></div><div class=""><br class=""></div><div class="">Thanx,</div><div class="">Alex<br class=""></div><div class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 25, 2019 at 11:32 AM Jorick Astrego <<a href="mailto:jorick@netbulae.eu" class="">jorick@netbulae.eu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" class=""><p class="">Hi,</p><p class="">We use bonding mode 6 (balance-alb) for GlusterFS traffic</p><p class=""><a class="gmail-m_-151486401419277343moz-txt-link-freetext" href="https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.4/html/administration_guide/network4" target="_blank">https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.4/html/administration_guide/network4</a><br class="">
</p>
<blockquote class=""><p class="">Preferred bonding mode for Red Hat Gluster Storage client is
mode 6 (balance-alb), this allows client to transmit writes in
parallel on separate NICs much of the time. <br class="">
</p>
</blockquote><p class="">Regards,</p><p class="">Jorick Astrego<br class="">
</p>
<div class="gmail-m_-151486401419277343moz-cite-prefix">On 2/25/19 5:41 AM, Dmitry Melekhov
wrote:<br class="">
</div>
<blockquote type="cite" class="">
<div class="gmail-m_-151486401419277343moz-cite-prefix">23.02.2019 19:54, Alex K пишет:<br class="">
</div>
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div class="">Hi all, <br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I have a replica 3 setup where each server was configured
with a dual interfaces in mode 6 bonding. All cables were
connected to one common network switch. <br class="">
</div>
<div class=""><br class="">
</div>
<div class="">To add redundancy to the switch, and avoid being a single
point of failure, I connected each second cable of each
server to a second switch. This turned out to not function
as gluster was refusing to start the volume logging
"transport endpoint is disconnected" although all nodes were
able to reach each other (ping) in the storage network. I
switched the mode to mode 1 (active/passive) and initially
it worked but following a reboot of all cluster same issue
appeared. Gluster is not starting the volumes. <br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Isn't active/passive supposed to work like that? Can one
have such redundant network setup or are there any other
recommended approaches?</div>
<div class=""><br class="">
</div>
</div>
</blockquote><p class=""><br class="">
</p><p class="">Yes, we use lacp, I guess this is mode 4 ( we use teamd ), it
is, no doubt, best way.</p><p class=""><br class="">
</p>
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div class="">Thanx, <br class="">
</div>
<div class="">Alex<br class="">
</div>
</div>
<br class="">
<fieldset class="gmail-m_-151486401419277343mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-151486401419277343moz-quote-pre">_______________________________________________
Gluster-users mailing list
<a class="gmail-m_-151486401419277343moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a class="gmail-m_-151486401419277343moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote><p class=""><br class="">
</p>
<br class="">
<fieldset class="gmail-m_-151486401419277343mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-151486401419277343moz-quote-pre">_______________________________________________
Gluster-users mailing list
<a class="gmail-m_-151486401419277343moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a class="gmail-m_-151486401419277343moz-txt-link-freetext" href="https://lists.gluster.org/mailman/listinfo/gluster-users" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br class="">
<br class="">
<b style="color:rgb(96,76,120)" class=""></b><br class=""><br class=""><span style="color:rgb(96,76,120)" class=""><font class=""><span lang="NL" class="">Met vriendelijke groet, With kind regards,<br class=""><br class="">Jorick Astrego<br class=""></span></font></span><b style="color:rgb(96,76,120)" class=""><br class="">Netbulae Virtualization Experts </b><br class=""><hr style="border-color:rgb(204,204,204) currentcolor currentcolor;border-style:solid none none;border-width:1px medium medium" class=""><table style="width:522px" class=""><tbody class=""><tr class=""><td style="width:130px;font-size:10px" class="">Tel: 053 20 30 270</td> <td style="width:130px;font-size:10px" class=""><a href="mailto:info@netbulae.eu" target="_blank" class="">info@netbulae.eu</a></td> <td style="width:130px;font-size:10px" class="">Staalsteden 4-3A</td> <td style="width:130px;font-size:10px" class="">KvK 08198180</td></tr><tr class=""> <td style="width:130px;font-size:10px" class="">Fax: 053 20 30 271</td> <td style="width:130px;font-size:10px" class=""><a href="http://www.netbulae.eu/" target="_blank" class="">www.netbulae.eu</a></td> <td style="width:130px;font-size:10px" class="">7547 TA Enschede</td> <td style="width:130px;font-size:10px" class="">BTW NL821234584B01</td></tr></tbody></table><br class=""><hr style="border-color:rgb(204,204,204) currentcolor currentcolor;border-style:solid none none;border-width:1px medium medium" class=""><br class="">
</div>
_______________________________________________<br class="">
Gluster-users mailing list<br class="">
<a href="mailto:Gluster-users@gluster.org" target="_blank" class="">Gluster-users@gluster.org</a><br class="">
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank" class="">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>
_______________________________________________<br class="">Gluster-users mailing list<br class=""><a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a><br class="">https://lists.gluster.org/mailman/listinfo/gluster-users</div></blockquote></div><br class=""></div></div></body></html>