<div dir="ltr"><div style>So, I&#39;ve got a question that is more &quot;best practice&quot; based or I suppose &quot;what would you do?&quot;:</div><div style><br></div><div style>Currently:</div><div style><br></div><div style>
2 Datacenters, A and B, with 10x2 distributed replicated gluster volume. </div><div style><br></div><div style>A01 &lt;=&gt; B01</div><div style>A02 &lt;=&gt; B02</div><div style>...</div><div style>A10 &lt;=&gt; B10</div>
<div style><br></div><div style><br></div><div style>We are bringing a third datacenter, C, online and B wil be going away. We are getting another 10 bricks for datacenter C, and want to, while keeping the storage available, basically move B to C. So, the end state would be:</div>
<div style><br></div><div style>A01 &lt;=&gt; C01</div><div style>...</div><div style>A10 &lt;=&gt; C10</div><div style><br></div><div style>(and then we would take the BXX bricks and add half to A and half to C, but thats just simple add bricks one things are re-balanced) . </div>
<div style><br></div><div style>So, I see a couple ways to do this:</div><div style><br></div><div style>1: if possible, add C01-C10 to the volume, as a third replica, and then once the heal is complete, remove all the B bricks and reduce teh replica count back to 2...</div>
<div style><br></div><div style>2: do brick-replace on each BXX brick with the new CXX brick, for each brick. replica count stays at 2, and we just move the replica to C one brick at a time.</div><div style><br></div><div style>
So, with option 1, i guess the question is...is it even possible to add 10 more bricks while upping the replica count? Likewise, to remove 10 and decrease the replica count? </div><div style><br></div><div style>Option 2, as far as I know should work, but I&#39;m trying to gauge other options over ding brick by brick replacements for this much data. </div>
<div style><br></div><div style>Anyone out there done something sort of like this? </div><div style><br></div><div style><br></div><div style><br></div><br clear="all"><div><div dir="ltr">--<div>Matthew Nicholson<div>Research Computing Specialist</div>
<div>Harvard FAS Research Computing</div><div><a href="mailto:matthew_nicholson@harvard.edu" target="_blank">matthew_nicholson@harvard.edu</a></div><div><br></div></div></div></div>
</div>