I changed vol files, because I need data replicated on three machine (two servers and one client). If I changed data on 1 machine, data must be changed on the other two machines...<br><br>My actual vol file:<br><br>Server1:<br>

<br>volume brick<br>&nbsp;type storage/posix<br>&nbsp;option directory /home/export/<br>end-volume<br><br><br>### Add network serving capability to above brick.<br>volume server<br>&nbsp;type protocol/server<br>&nbsp;option transport-type tcp<br>

&nbsp;subvolumes brick<br>&nbsp;option auth.addr.brick.allow * # Allow access to &quot;brick&quot; volume<br>end-volume<br><br>Server2<br><br>volume brick<br>&nbsp;type storage/posix<br>&nbsp;option directory /home/export/<br>end-volume<br>
<br>### Add network serving capability to above brick.<br>volume server<br>&nbsp;type protocol/server<br>&nbsp;option transport-type tcp<br>&nbsp;subvolumes brick<br>&nbsp;option auth.addr.brick.allow * # Allow access to &quot;brick&quot; volume<br>
end-volume<br><br>Client:<br><br>### Add client feature and attach to remote subvolume of server1<br>volume brick1<br>&nbsp;type protocol/client<br>&nbsp;option transport-type tcp<br>&nbsp;option remote-host 192.168.240.227&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # IP address of the remote brick<br>
&nbsp;option remote-subvolume brick&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # name of the remote volume<br>end-volume<br><br>### Add client feature and attach to remote subvolume of server2<br>volume brick2<br>&nbsp;type protocol/client<br>&nbsp;option transport-type tcp<br>
&nbsp;option remote-host 192.168.240.228&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # IP address of the remote brick<br>&nbsp;option remote-subvolume brick&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # name of the remote volume<br>end-volume<br><br>volume afr<br>&nbsp;type cluster/afr<br>&nbsp;subvolumes brick1 brick2<br>
end-volume<br><br>Raghavendra G said me that in Glusterfs 2.0 requires posix-locks. I proved changed &quot;type storage/posix&quot; for &quot;type features/posix-locks&quot; but not working correctly.<br><br><div class="gmail_quote">
2009/2/13 Krishna Srinivas <span dir="ltr">&lt;<a href="mailto:krishna@zresearch.com" target="_blank">krishna@zresearch.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Alain,<br>
<br>
Are those your actual vol files? just want to confirm.<br>
<div><br>
&gt; &nbsp; &nbsp;option remote-host 192.168.x.x &nbsp; # IP address of server2<br>
<br>
</div>you need to give proper IP address here.<br>
<div><br>
&gt; &nbsp; &nbsp;option auth.ip.brick1.allow *all<br>
&gt; &nbsp; &nbsp;option auth.ip.afr.allow *all<br>
<br>
</div>&quot;*all&quot; is incorrect here.<br>
<br>
If these are not your actual vol files, can you paste them here?<br>
<font color="#888888"><br>
Krishna<br>
</font><div><div></div><div><br>
On Wed, Feb 11, 2009 at 6:04 PM, Alain Gonzalez &lt;<a href="mailto:alaingonza@gmail.com" target="_blank">alaingonza@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have a problem. I need to replicate data between three machines. Two of<br>
&gt; machines are servers and one is a client.<br>
&gt;<br>
&gt; If I change data in client, also changed in the two servers. And if I change<br>
&gt; any data on a server1, also changed in the other server2 and client.<br>
&gt;<br>
&gt; I have done tests with the tutorials of glusterfs, but I donīt have good<br>
&gt; results.<br>
&gt;<br>
&gt; Someone who can help me?<br>
&gt;<br>
&gt; #server1<br>
&gt;<br>
&gt; volume brick1<br>
&gt; &nbsp; &nbsp;type storage/posix<br>
&gt; &nbsp; &nbsp;option directory /home/export #created<br>
&gt; end-volume<br>
&gt;<br>
&gt; volume brick2<br>
&gt; &nbsp; &nbsp;type protocol/client<br>
&gt; &nbsp; &nbsp;option transport-type tcp/client<br>
&gt;<br>
&gt; &nbsp; &nbsp;option remote-host 192.168.x.x &nbsp; # IP address of server2<br>
&gt; &nbsp; &nbsp;option remote-subvolume brick1 &nbsp; # use brick1 on server2<br>
&gt; end-volume<br>
&gt;<br>
&gt; volume afr<br>
&gt; &nbsp; &nbsp;type cluster/afr<br>
&gt; &nbsp; &nbsp;subvolumes brick1 brick2<br>
&gt; end-volume<br>
&gt;<br>
&gt;<br>
&gt; volume server<br>
&gt; &nbsp; &nbsp;type protocol/server<br>
&gt; &nbsp; &nbsp;option transport-type tcp/server<br>
&gt; &nbsp; &nbsp;subvolumes brick1 afr<br>
&gt; &nbsp; &nbsp;option auth.ip.brick1.allow *all<br>
&gt; &nbsp; &nbsp;option auth.ip.afr.allow *all<br>
&gt; end-volumevolume brick1<br>
&gt;<br>
&gt;<br>
&gt; #server2<br>
&gt;<br>
&gt; volume brick1<br>
&gt; &nbsp; &nbsp;type storage/posix<br>
&gt; &nbsp; &nbsp;option directory /home/export #created<br>
&gt; end-volume<br>
&gt;<br>
&gt; volume brick2<br>
&gt; &nbsp; &nbsp;type protocol/client<br>
&gt; &nbsp; &nbsp;option transport-type tcp/client<br>
&gt; &nbsp; &nbsp;option remote-host 192.168.x.x &nbsp; # IP address of server1<br>
&gt;<br>
&gt; &nbsp; &nbsp;option remote-subvolume brick1 &nbsp; # use brick1 on server1<br>
&gt; end-volume<br>
&gt;<br>
&gt; volume afr<br>
&gt; &nbsp; &nbsp;type cluster/afr<br>
&gt; &nbsp; &nbsp;subvolumes brick2 brick1<br>
&gt; end-volume<br>
&gt;<br>
&gt; volume server<br>
&gt; &nbsp; &nbsp;type protocol/server<br>
&gt; &nbsp; &nbsp;option transport-type tcp/server<br>
&gt;<br>
&gt; &nbsp; &nbsp;subvolumes brick1 afr<br>
&gt; &nbsp; &nbsp;option auth.ip.brick1.allow * #all<br>
&gt; &nbsp; &nbsp;option auth.ip.afr.allow * #all<br>
&gt; end-volume<br>
&gt;<br>
&gt; #client<br>
&gt;<br>
&gt; volume brick<br>
&gt; &nbsp; &nbsp;type protocol/client<br>
&gt; &nbsp; &nbsp;option transport-type tcp/client # for TCP/IP transport<br>
&gt;<br>
&gt; &nbsp; &nbsp;option remote-host 192.168.x.x &nbsp; # IP address of the server ----&gt; IP of<br>
&gt; the server1<br>
&gt; &nbsp; &nbsp;option remote-subvolume afr &nbsp; &nbsp; &nbsp;# name of the remote volume<br>
&gt; end-volume<br>
&gt;<br>
&gt; Best Regards<br>
&gt;<br>
&gt; --<br>
&gt; Alain Gonzalez<br>
&gt;<br>
</div></div><div><div></div><div>&gt; _______________________________________________<br>
&gt; Gluster-devel mailing list<br>
&gt; <a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
&gt; <a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Alain Gonzalez<br>