<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="sans-serif">Hello,<br>
<br>
I'm having problems with 2 server setup using replicate to create a 2
system mirror for small HA setup.&nbsp; It seems like a locking issue or
something.&nbsp; The below configuration was based on a tutorial and seemed
solid when testing, however some file operations such as PHP BB3
caching and SVN are causing file corruption.&nbsp; I am pretty new with
glusterfs so please let me know if there is something I can change in
my configuration to fix this.&nbsp; Thank you!<br>
<br>
Configuration:<br>
<br>
2 x server running:<br>
# file: /etc/glusterfs/glusterfs-server.vol<br>
volume posix<br>
&nbsp; type storage/posix<br>
&nbsp; option directory /data<br>
end-volume<br>
<br>
volume locks<br>
&nbsp; type features/locks<br>
&nbsp; subvolumes posix<br>
end-volume<br>
<br>
volume brick<br>
&nbsp; type performance/io-threads<br>
&nbsp; option thread-count 8<br>
&nbsp; subvolumes locks<br>
end-volume<br>
<br>
volume server<br>
&nbsp; type protocol/server<br>
&nbsp; option transport-type tcp<br>
&nbsp; option auth.addr.brick.allow *<br>
&nbsp; subvolumes brick<br>
end-volume<br>
<br>
2 servers and all clients running:<br>
# file: /etc/glusterfs/glusterfs-client.vol<br>
volume remote1<br>
&nbsp; type protocol/client<br>
&nbsp; option transport-type tcp<br>
&nbsp; option remote-host 192.168.100.63<br>
&nbsp; option remote-subvolume brick<br>
end-volume<br>
<br>
volume remote2<br>
&nbsp; type protocol/client<br>
&nbsp; option transport-type tcp<br>
&nbsp; option remote-host 192.168.100.64<br>
&nbsp; option remote-subvolume brick<br>
end-volume<br>
<br>
volume replicate<br>
&nbsp; type cluster/replicate<br>
&nbsp; subvolumes remote1 remote2<br>
end-volume<br>
<br>
volume writebehind<br>
&nbsp; type performance/write-behind<br>
&nbsp; option aggregate-size 128KB<br>
&nbsp; option window-size 1MB<br>
&nbsp; subvolumes replicate<br>
end-volume<br>
<br>
volume cache<br>
&nbsp; type performance/io-cache<br>
&nbsp; option cache-size 64MB<br>
&nbsp; subvolumes writebehind<br>
end-volume<br>
<br>
<br>
</font></font>
<pre class="moz-signature" cols="72">-- 
Kind Regards,

Phillip Walsh
--------------------
</pre>
</body>
</html>