<div dir="ltr">Hi,<br><br>The configuration looks fine with proper IP addresses substituted for REMOTE_IP. If you face any problems, kindly report to us.<br><br>regards,<br><br><div class="gmail_quote">On Tue, Jul 22, 2008 at 2:01 AM, Keith Freedman &lt;<a href="mailto:freedman@freeformit.com">freedman@freeformit.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, All,<br>
<br>
I need some configuration advice. I&#39;m running <a href="http://1.3.10." target="_blank">1.3.10.</a><br>
<br>
I *think* I&#39;m doing things right but when I was running 1.3.8 there<br>
were occasional times when it hangs and I have to restart gluster,<br>
kill things that are on the mount, and remount it.<br>
<br>
so it&#39;s possible it was just 1.3.8 bugs, but I&#39;m not sure I&#39;ve got<br>
things in the right order to address posix locks,etc...<br>
<br>
There are 2 servers AFR&#39;ing each other. &nbsp;so both configs are the same:<br>
volume home1<br>
 &nbsp; type storage/posix &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # POSIX FS translator<br>
 &nbsp; option directory /gluster/home &nbsp; &nbsp; &nbsp; &nbsp;# Export this directory<br>
end-volume<br>
<br>
volume posix-locks-home1<br>
 &nbsp; type features/posix-locks<br>
# &nbsp;option mandatory on<br>
 &nbsp; subvolumes home1<br>
end-volume<br>
<br>
volume home2<br>
 &nbsp; type protocol/client &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # POSIX FS translator<br>
 &nbsp; option transport-type tcp/client<br>
 &nbsp; option remote-host REMOTE_IP &nbsp; &nbsp; &nbsp;# IP address of remote host<br>
 &nbsp; option remote-subvolume posix-locks-home1 &nbsp; &nbsp; # use home1 on<br>
remote host (with locking)<br>
end-volume<br>
<br>
volume home<br>
 &nbsp; type cluster/afr<br>
 &nbsp; option read-subvolume posix-locks-home1<br>
 &nbsp; subvolumes posix-locks-home1 home2<br>
end-volume<br>
<br>
volume threads1<br>
 &nbsp; type performance/io-threads<br>
 &nbsp; option thread-count 8<br>
 &nbsp; option cache-size 32MB<br>
 &nbsp; subvolumes home<br>
end-volume<br>
<br>
volume server<br>
 &nbsp; type protocol/server<br>
 &nbsp; option transport-type tcp/server &nbsp; &nbsp; # For TCP/IP transport<br>
 &nbsp; subvolumes home home1 posix-locks-home1<br>
 &nbsp; option auth.ip.posix-locks-home1.allow REMOTE_IP,<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> # Allow<br>
access to &quot;home1&quot; volume<br>
 &nbsp; option auth.ip.home1.allow REMOTE_IP,<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> # Allow access to<br>
&quot;home1&quot; volume<br>
 &nbsp; option auth.ip.home.allow REMOTE_IP,<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> # Allow access to &quot;afr&quot; volume<br>
end-volume<br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>A centipede was happy quite, until a toad in fun,<br>Said, &quot;Prey, which leg comes after which?&quot;,<br>This raised his doubts to such a pitch,<br>
He fell flat into the ditch,<br>Not knowing how to run.<br>-Anonymous
</div>