<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/26/2013 11:17 AM, k varma wrote:<br>
    </div>
    <blockquote
      cite="mid:1372270654.58332.YahooMailNeo@web192503.mail.sg3.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div style="background-color: transparent;">I recenlty
          configured the 2 node replica glusterfs , and I am having
          couple of issues <br>
        </div>
      </div>
    </blockquote>
    Assuming node=server so we have a two server replica 2 volume.<br>
    <blockquote
      cite="mid:1372270654.58332.YahooMailNeo@web192503.mail.sg3.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div style="background-color: transparent;">1. As soon &nbsp;as a I
          reboot the node2,</div>
      </div>
    </blockquote>
    Which could be either server since they're peers. I'm going to
    assume one of the servers is named "node2" and we're referring to
    that.<br>
    <blockquote
      cite="mid:1372270654.58332.YahooMailNeo@web192503.mail.sg3.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div style="background-color: transparent;"> the glusterfs on
          node1 is not available</div>
      </div>
    </blockquote>
    I must now assume that "node1" is a client and that client cannot
    mount the volume. Based on the fstab entry below I'm going to guess
    that node1 is also a server. Make sure that glusterd is enabled,
    "chkconfig glusterd on". Also make sure you're using the official
    packages from download.gluster.org. There were some distro packages
    that had the boot order wrong.<br>
    <blockquote
      cite="mid:1372270654.58332.YahooMailNeo@web192503.mail.sg3.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div style="background-color: transparent;"> but when I
          reboot/shutdown node1 the glusterfs is available on node 0 ,
          so please let me know if you guys have encountered the same
          issue</div>
      </div>
    </blockquote>
    You shutdown and ... what is node0? Is this a third server? Just a
    client? We now have three nodes referenced. node0, node1, and node2.
    I'm having to guess at which are clients and which are servers.
    Perhaps it might be easier to use the terms, server and client, in
    order to cause less confusion.<br>
    <blockquote
      cite="mid:1372270654.58332.YahooMailNeo@web192503.mail.sg3.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div style="background-color: transparent;">2. I am not able to
          mount the glusterfs mount at the time of reboot I had to do
          manually mount everytime.</div>
        <div style="background-color: transparent;"><br>
        </div>
        <div style="background-color: transparent;">node1:/gv0
          &nbsp;/mnt/gluster glusterfs defaults,_netdev 1 2 is the options I
          am using in fstab <br>
        </div>
      </div>
    </blockquote>
    That always works for me, except I use rrdns and the hostname,
    "glusterfs" has A records for each of my servers. This allows me to
    use "glusterfs:/myvol" and the mount will succeed even if I have a
    server out for maintenance.<br>
    <br>
    <br>
  </body>
</html>