<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Please share the tracebacks/errors from the logs(Master nodes)
    /var/log/glusterfs/geo-replication/static/*.log<br>
    <pre class="moz-signature" cols="72">regards
Aravinda</pre>
    <div class="moz-cite-prefix">On 10/06/2015 01:19 PM, Wade
      Fitzpatrick wrote:<br>
    </div>
    <blockquote cite="mid:56137D1A.2030803@ladbrokes.com.au" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      I am trying to set up geo-replication of a striped-replicate
      volume. I used <a moz-do-not-send="true"
        class="moz-txt-link-freetext"
        href="https://github.com/aravindavk/georepsetup">https://github.com/aravindavk/georepsetup</a>
      to configure the replication.<br>
      <br>
      root@james:~# gluster volume info<br>
      <br>
      Volume Name: static<br>
      Type: Striped-Replicate<br>
      Volume ID: 3f9f810d-a988-4914-a5ca-5bd7b251a273<br>
      Status: Started<br>
      Number of Bricks: 1 x 2 x 2 = 4<br>
      Transport-type: tcp<br>
      Bricks:<br>
      Brick1: james:/data/gluster1/static/brick1<br>
      Brick2: cupid:/data/gluster1/static/brick2<br>
      Brick3: hilton:/data/gluster1/static/brick3<br>
      Brick4: present:/data/gluster1/static/brick4<br>
      Options Reconfigured:<br>
      changelog.changelog: on<br>
      geo-replication.ignore-pid-check: on<br>
      geo-replication.indexing: on<br>
      performance.readdir-ahead: on<br>
      <br>
      root@james:~# gluster volume geo-replication status<br>
      <br>
      MASTER NODE    MASTER VOL    MASTER BRICK                    SLAVE
      USER    SLAVE                   SLAVE NODE    STATUS     CRAWL
      STATUS    LAST_SYNCED<br>
------------------------------------------------------------------------------------------------------------------------------------------------------<br>
      james          static        /data/gluster1/static/brick1   
      root          <a moz-do-not-send="true"
        class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a>   
      N/A           Created    N/A             N/A<br>
      cupid          static        /data/gluster1/static/brick2   
      root          <a moz-do-not-send="true"
        class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a>   
      N/A           Created    N/A             N/A<br>
      hilton         static        /data/gluster1/static/brick3   
      root          <a moz-do-not-send="true"
        class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a>   
      N/A           Created    N/A             N/A<br>
      present        static        /data/gluster1/static/brick4   
      root          <a moz-do-not-send="true"
        class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a>   
      N/A           Created    N/A             N/A<br>
      <br>
      So of the 4 bricks, data is striped over brick1 and brick3, also
      brick1=brick2 is a mirror and brick3=brick4 is a mirror. Therefore
      I have no need to geo-replicate bricks 2 and 4.<br>
      <br>
      At the other site, palace and madonna form a stripe volume (no
      replication):<br>
      <br>
      root@palace:~# gluster volume info<br>
      <br>
      Volume Name: static<br>
      Type: Stripe<br>
      Volume ID: 0e91c6f2-3499-4fc4-9630-9da8b7f57db5<br>
      Status: Started<br>
      Number of Bricks: 1 x 2 = 2<br>
      Transport-type: tcp<br>
      Bricks:<br>
      Brick1: palace:/data/gluster1/static/brick1<br>
      Brick2: madonna:/data/gluster1/static/brick2<br>
      Options Reconfigured:<br>
      performance.readdir-ahead: on<br>
      <br>
      However, when I try to start geo-replication, it fails as below.<br>
      <br>
      root@james:~# gluster volume geo-replication static <a
        moz-do-not-send="true" class="moz-txt-link-freetext"
        href="ssh://palace::static"><a class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a></a> start<br>
      Starting geo-replication session between static &amp; <a
        moz-do-not-send="true" class="moz-txt-link-freetext"
        href="ssh://palace::static"><a class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a></a> has been
      successful<br>
      root@james:~# gluster volume geo-replication status<br>
      <br>
      MASTER NODE    MASTER VOL    MASTER BRICK                    SLAVE
      USER    SLAVE                   SLAVE NODE    STATUS    CRAWL
      STATUS    LAST_SYNCED<br>
-----------------------------------------------------------------------------------------------------------------------------------------------------<br>
      james          static        /data/gluster1/static/brick1   
      root          <a moz-do-not-send="true"
        class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a>   
      N/A           Faulty    N/A             N/A<br>
      cupid          static        /data/gluster1/static/brick2   
      root          <a moz-do-not-send="true"
        class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a>   
      N/A           Faulty    N/A             N/A<br>
      hilton         static        /data/gluster1/static/brick3   
      root          <a moz-do-not-send="true"
        class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a>   
      N/A           Faulty    N/A             N/A<br>
      present        static        /data/gluster1/static/brick4   
      root          <a moz-do-not-send="true"
        class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a>   
      N/A           Faulty    N/A             N/A<br>
      <br>
      <br>
      What should I do to set this up properly so that
      james:/data/gluster1/static/brick1 gets replicated to
      palace:/data/gluster1/static/brick1 ; and
      hilton:/data/gluster1/static/brick3 gets replicated to
      madonna:/data/gluster1/static/brick2 ???<br>
      <br>
      <br>
      <br>
      <div class="moz-signature">-- <br>
        <style type="text/css"> body {font-family: sans-serif;}</style></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>
    <br>
  </body>
</html>