<div dir="ltr"><div dir="ltr"><p>Hi,</p>
<p>I would like to implement a distributed-replicated architecture but
some of my nodes have different number of bricks. My idea is to do a
replica 2 through 6 nodes (all bricks with the same size).<br>
</p>
<p>My gluster architecture is:<br>
</p>
<p>Name node | Brick 1 | Brick 2</p>
<p>------------------------------------------<br>
</p>
<p>Node1 | <font color="#ff0000">R1</font> | |<br>
</p>
<p>Node2 | <font color="#ff0000">R1</font> | |<br>
</p>
<p>Node3 | <font color="#33ff33">R2</font> | <font color="#ffcc00">R3</font> |</p>
<p>Node4 | <font color="#33ff33">R2</font> | <font color="#ffcc00">R3</font> |</p>
<p>Node5 | <font color="#3333ff">R4</font> | <font color="#ff99ff">R5</font> |</p>
<p>Node6 | <font color="#3333ff">R4</font> | <font color="#ff99ff">R5</font> |</p>
<p>My questions are: <br>
</p>
<p>1. Would be this correct ?<br>
</p>
<p></p>
<pre style="font-family:monospace,Courier;color:black;background-color:rgb(249,249,249);border:1px solid rgb(221,221,221);padding:1em;line-height:1.3em;font-size:14px;white-space:pre-wrap">gluster volume create vol0 replica 2 transport tcp \
node1:/data/gluster/vol0/brick1 node2:/data/gluster/vol0/brick1 \
node3:/data/gluster/vol0/brick1 node4:/data/gluster/vol0/brick1 \<br> node3:/data/gluster/vol0/brick2 node4:/data/gluster/vol0/brick2 \<br> node5:/data/gluster/vol0/brick1 node6:/data/gluster/vol0/brick1 \<br> node5:/data/gluster/vol0/brick2 node6:/data/gluster/vol0/brick2 \
</pre><p>2 If I need to add a new node in the future, I will be able to extend my distributed replication system ? Something like:<br></p><p>Name node | Brick 1 | Brick 2</p>
<p>------------------------------------------<br>
</p>
<p>Node1 | <font color="#ff0000">R1</font> | |<br>
</p>
<p>Node2 | <font color="#999999">R2</font> | |<br>
</p>
<p>Node3 | <font color="#33ff33">R3</font> | <font color="#ffcc00">R4</font> |</p>
<p>Node4 | <font color="#33ff33">R3</font> | <font color="#ffcc00">R4</font> |</p>
<p>Node5 | <font color="#3333ff">R5</font> | <font color="#ff99ff">R6</font> |</p>
<p>Node6 | <font color="#3333ff">R5</font> | <font color="#ff99ff">R6</font> |</p>
<p>Node7 | <font color="#ff0000">R1</font> | <font color="#999999">R2</font> |</p><p><br></p><pre style="font-family:monospace,Courier;color:black;background-color:rgb(249,249,249);border:1px solid rgb(221,221,221);padding:1em;line-height:1.3em;font-size:14px;white-space:pre-wrap">gluster volume create vol0 replica 2 transport tcp \
node1:/data/gluster/vol0/brick1 node7:/data/gluster/vol0/brick1 \<br> node2:/data/gluster/vol0/brick1 node7:/data/gluster/vol0/brick2 \<br> node3:/data/gluster/vol0/brick1 node4:/data/gluster/vol0/brick1 \<br> node3:/data/gluster/vol0/brick2 node4:/data/gluster/vol0/brick2 \<br> node5:/data/gluster/vol0/brick1 node6:/data/gluster/vol0/brick1 \<br> node5:/data/gluster/vol0/brick2 node6:/data/gluster/vol0/brick2 \</pre><p>3. My nodes will also mount volumes (gluster clients) so in order to optimize the read performance operations, what is the best replication system: distributed-replicated or only replicated.</p><p><br></p><p>Thanks in advance.</p></div></div>