<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 <<a href="mailto:freedman@freeformit.com">freedman@freeformit.com</a>> 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'm running <a href="http://1.3.10." target="_blank">1.3.10.</a><br>
<br>
I *think* I'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's possible it was just 1.3.8 bugs, but I'm not sure I've got<br>
things in the right order to address posix locks,etc...<br>
<br>
There are 2 servers AFR'ing each other. so both configs are the same:<br>
volume home1<br>
type storage/posix # POSIX FS translator<br>
option directory /gluster/home # Export this directory<br>
end-volume<br>
<br>
volume posix-locks-home1<br>
type features/posix-locks<br>
# option mandatory on<br>
subvolumes home1<br>
end-volume<br>
<br>
volume home2<br>
type protocol/client # POSIX FS translator<br>
option transport-type tcp/client<br>
option remote-host REMOTE_IP # IP address of remote host<br>
option remote-subvolume posix-locks-home1 # use home1 on<br>
remote host (with locking)<br>
end-volume<br>
<br>
volume home<br>
type cluster/afr<br>
option read-subvolume posix-locks-home1<br>
subvolumes posix-locks-home1 home2<br>
end-volume<br>
<br>
volume threads1<br>
type performance/io-threads<br>
option thread-count 8<br>
option cache-size 32MB<br>
subvolumes home<br>
end-volume<br>
<br>
volume server<br>
type protocol/server<br>
option transport-type tcp/server # For TCP/IP transport<br>
subvolumes home home1 posix-locks-home1<br>
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 "home1" volume<br>
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>
"home1" volume<br>
option auth.ip.home.allow REMOTE_IP,<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> # Allow access to "afr" 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, "Prey, which leg comes after which?",<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>