<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I am trying to set up geo-replication of a striped-replicate volume.
    I used <a 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 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 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 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 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 class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</a> start<br>
    Starting geo-replication session between static &amp;
    <a class="moz-txt-link-freetext" href="ssh://palace::static">ssh://palace::static</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 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 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 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 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>
  </body>
</html>