<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Replicas are defined in the order bricks are listed in the volume
    create command. So gluster volume create myvol replica 2
    server1:/data/brick1 server2:/data/brick1 server3:/data/brick1
    server4:/data/brick1 will replicate between server1 and server2 and
    replicate between server3 and server4.<br>
    <br>
    See also
<a class="moz-txt-link-freetext" href="https://joejulian.name/blog/how-to-expand-glusterfs-replicated-clusters-by-one-server/">https://joejulian.name/blog/how-to-expand-glusterfs-replicated-clusters-by-one-server/</a><br>
    <br>
    <div class="moz-cite-prefix">On 11/08/2016 03:28 PM, Lopez, Dan-Joe
      wrote:<br>
    </div>
    <blockquote
      cite="mid:226c84ebcab54903a603be558c8ddcb3@USPHLE13US01.global.corp.sap"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:+mn-ea;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hello All,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">                I’d like to automate a
          gluster replica cluster in a way that allows me to later add
          single servers on the fly.  I can’t seem to understand from
          the docs how I might achieve this.  It seems logical that a
          replica cluster needs to have at least 2 servers initially,
          but thereafter, I see no reason that I shouldn’t be able to
          add a single server to the cluster.  From what I have read, it
          seems that the number of servers I add in the future needs to
          match the number of servers that I started with.  <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="text-indent:.5in">e.g. replica 1
          doesn’t really make sense, and isn’t allowed, but if I start
          with replica n; I must always add n servers at a time to the
          volume, I can’t just add one server to have an n+1 replica…<o:p></o:p></p>
        <p class="MsoNormal" style="text-indent:.5in"><o:p> </o:p></p>
        <p class="MsoNormal" style="text-indent:.5in">If anyone could
          point me in the right direction here, I’d really appreciate
          it.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="vertical-align:bottom"><span
style="font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Dan-Joe
            Lopez
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New Roman&quot;,serif"><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </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>