<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 3, 2016 at 12:21 PM, Hari Gowtham <span dir="ltr">&lt;<a href="mailto:hgowtham@redhat.com" target="_blank">hgowtham@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The current add and remove brick commands aren&#39;t sufficient to support<br>
add/remove brick on tiered volumes.So the commands need minor changes<br>
like mentioning which tier we are doing the operation on. So in order<br>
to specify the tier on which we are performing the changes, I thought<br>
of using the following commands for add and remove brick<br>
<br>
adding brick on tiered volume:<br>
gluster volume tier &lt;volname&gt; add-hot-brick/add-cold-brick &lt;brick&gt; ... &lt;force&gt;<br>
<br>
removing brick on tierd volume:<br>
gluster volume tier &lt;volname&gt; remove-hot-brick/remove-cold-<wbr>brick &lt;brick&gt; ... &lt;start|stop|status|commit|<wbr>force&gt;<br>
<br>
I have framed it this way because once we mention details about tiering<br>
these commands become specific to tier and the syntax that we follow for<br>
commands are gluster volume component &lt;VOLNAME&gt; ...<br>
So i have made sure that the keyword tier comes after volume.<br>
Need suggestions to make these commands better.<br>
<br>
Similarly once we support add/remove brick we will be having rebalance<br>
commands and the idea is to support rebalance separately for each tier.<br>
So once we will have to rebalance status to display for which we need<br>
rebalance commands specific to tier. so these are the commands we have<br>
thought of:<br>
gluster v tier &lt;VOLNAME&gt; hot-rebalance/cold-rebalance &lt;start|stop|status&gt;<br>
<br>
Need your comments regarding this.<br></blockquote><div><br></div><div>Overall it makes sense. Just a comment here. Instead of mentioning remove/add/rebalance-hot/cold-brick can we have an additional arg called tier-type &lt;hot/cold&gt; and continue with the existing semantics like remove-brick, add-brick and rebalance?<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Regards,<br>
Hari.<br>
<br>
______________________________<wbr>_________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div>--Atin<br></div></div>
</div></div>