<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>On 8/2/2016 8:14 AM, Gilberto Nunes wrote:<br>
    </p>
    <blockquote
cite="mid:CAOKSTBvj1Wf4oS4AphJvQAZgoyACLw9dZTTnHaY_nFbCEXX4qA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div dir="ltr">
        <div dir="ltr" style="font-size:12.8px">
          <div>Hello list...</div>
          <div>This is my first post on this list.</div>
          <div><br>
          </div>
          <div>I have here two IBM Server, with 9 TB of hardisk on which
            one.</div>
          <div>Between this servers, I have a WAN connecting two
            offices,let say OFFICE1 and OFFICE2.</div>
          <div>This WAN connection is over fibre channel.</div>
          <div>When I setting up gluster with replica with two bricks,
            and mount the gluster volume in other folder, like this:</div>
          <div><br>
          </div>
          <div>mount -t glusterfs localhost:/VOLUME /STORAGE</div>
          <div><br>
          </div>
          <div><br>
          </div>
          and when I go to that folder, and try to access the content, I
          get a lot of timeout... Even a single ls give a lot of time to
          return the list.</div>
        <div dir="ltr" style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">This folder, /STORAGE is access by
          many users, through samba share.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">So, when OFFICE1 access the
          gluster server access the files over \\server\share, has a
          long delay to show the files.... Sometimes, get time out.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">My question is: is there some way
          to improve the gluster to work faster in this scenario??</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Thanks a lot.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Best regards</div>
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div><br>
                                    </div>
                                    <div>Gilberto Ferreira<br>
                                      +55 (47) 9676-7530<br>
                                      Skype: gilberto.nunes36<br>
                                    </div>
                                    <br>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    I probably can't help, but I can tell you the kind of things that
    will help people to understand your problem better.<br>
    <br>
    What is the bandwidth between sites?<br>
    <br>
    What is the ping time between sites?<br>
    <br>
    If you run "ping -c10000 &lt;OFFICE2&gt;" from OFFICE1, how many
    pings fail?<br>
    <br>
    What else can you tell us about the WAN connection that would help
    us understand your situation?<br>
    <br>
    How many files are there in the \\server\share directory?<br>
    <br>
    Are people at both sites actively writing files to the shared
    storage?  If not, you may need to look at gluster geo-replication. 
    It is one way, so all writing would have to be done to OFFICE1, with
    OFFICE2 having read-only access.  (Some things that works
    wonderfully for, other things it doesn't work at all.)<br>
    <br>
    I can also tell you that no one who has tried it will endorse
    running a production replica 2 cluster over WAN.  You are asking for
    either downtime or split-brain or both.  Replica 3 is the minimum
    for production use of a replicate cluster, even over LAN.<br>
    <br>
    Ted Miller<br>
    Elkhart, IN, USA<br>
    <br>
  </body>
</html>