<html><head></head><body>As long as you use hostnames for your bricks, just change the hostname to resolve to the address you want to use. That&#39;s why we always recommend using hostnames.<br>
<br>
If you use IPs, then you&#39;re stuck and have to hack files to change bricks.<br><br><div class="gmail_quote">On July 12, 2014 1:03:08 AM PDT, Attila Heidrich &lt;attila.heidrich@gmail.com&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div><div>Thanks a lot answering!<br /></div><div><br />Assymetric route is not an option - I guess; there are just two bricks at the moment, I have changed hosts file for both. <br /><br /></div>Will look after the config files, thanks a lot again! Later on I will use IP addresses for being sure :)<br />

<br /></div><div><br /></div>Regards,<br />Attila<br /></div><div class="gmail_extra"><br /><br /><div class="gmail_quote">2014-07-10 11:28 GMT+02:00 Jonathan Barber <span dir="ltr">&lt;<a href="mailto:jonathan.barber@gmail.com" target="_blank">jonathan.barber@gmail.com</a>&gt;</span>:<br />

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="">On 10 July 2014 09:51, Anders Blomdell <span dir="ltr">&lt;<a href="mailto:anders.blomdell@control.lth.se" target="_blank">anders.blomdell@control.lth.se</a>&gt;</span> wrote:<br />


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>On 2014-07-10 10:11, Attila Heidrich wrote:<br />



&gt; Hi!<br />
&gt;<br />
&gt; I have seen, that someone else is having tha same problem, but he received<br />
&gt; no answer at all.<br />
&gt; <a href="http://gluster.org/pipermail/gluster-users/2014-March/039421.html" target="_blank">http://gluster.org/pipermail/gluster-users/2014-March/039421.html</a><br />
&gt;<br />
&gt; We have got the same problem. There are two NICs in all boxes, 1G and 10G,<br />
&gt; and we started just the 1G, but now would like to use the other.<br />
&gt;<br />
&gt; IP addresses/networks are different (of course) and there are running<br />
&gt; services in the cluster.<br />
&gt;<br />
&gt; Is there a way to work out this easily?<br />
&gt;<br />
&gt; I&#39;m pretty sure I can add new nodes on the new network and later remove the<br />
&gt; old ones, but it would be nicer to have some way for changing connect data<br />
&gt; of the same nodes.<br />
</div></div>If you want clients to use the 1G links, and servers to talk via the 10G links,<br />
&#39;ip route add &lt;dest&gt; src &lt;1G address&gt; dev &lt;10G interface&gt;&#39; on all server might help.<br /></blockquote><div><br /></div></div><div>Will that not cause asymmetric flows? The traffic will leave via the 10GbE interface, but the destination IP is still the 1GbE interface, so it will arrive at the 1GbE interface on the other host.</div>


<div><br /></div><div>You can change the /etc/hosts entries, replacing the entries for the 1GbE IP with the 10GbE IP and then restarting the gluster processes.</div><div><br /></div><div>You could mess about with iptables and NAT, but I think at that point you might as well add/remove the hosts.</div>


<div><br /></div><div>I guess you can also update the configuration files under /var/lib/glusterfs and rename the brick files... You might want to test that first though :)</div><div><br /></div><div>Cheers</div><div><br /></div>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span><font color="#888888"></font><div class=""><font color="#888888"><br />
/Anders<br />
<br />
--<br />
Anders Blomdell                  Email: <a href="mailto:anders.blomdell@control.lth.se" target="_blank">anders.blomdell@control.lth.se</a><br />
Department of Automatic Control<br />
Lund University                  Phone:    <a href="tel:%2B46%2046%20222%204625" value="+46462224625" target="_blank">+46 46 222 4625</a><br />
P.O. Box 118                     Fax:      <a href="tel:%2B46%2046%20138118" value="+4646138118" target="_blank">+46 46 138118</a><br />
SE-221 00 Lund, Sweden<br />
<br /></font></div>
_______________________________________________<br />
Gluster-users mailing list<br />
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br />
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><span class="HOEnZb"><font color="#888888"><br />
</font></span></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br /><br clear="all" /></font><div><font color="#888888"><br /></font></div>-- <br />Jonathan Barber &lt;<a href="mailto:jonathan.barber@gmail.com" target="_blank">jonathan.barber@gmail.com</a>&gt;
</span></div></div>
</blockquote></div><br /></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />Gluster-users mailing list<br />Gluster-users@gluster.org<br /><a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>