<!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. It seems like a locking issue or
something. 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. I am pretty new with
glusterfs so please let me know if there is something I can change in
my configuration to fix this. Thank you!<br>
<br>
Configuration:<br>
<br>
2 x server running:<br>
# file: /etc/glusterfs/glusterfs-server.vol<br>
volume posix<br>
type storage/posix<br>
option directory /data<br>
end-volume<br>
<br>
volume locks<br>
type features/locks<br>
subvolumes posix<br>
end-volume<br>
<br>
volume brick<br>
type performance/io-threads<br>
option thread-count 8<br>
subvolumes locks<br>
end-volume<br>
<br>
volume server<br>
type protocol/server<br>
option transport-type tcp<br>
option auth.addr.brick.allow *<br>
subvolumes brick<br>
end-volume<br>
<br>
2 servers and all clients running:<br>
# file: /etc/glusterfs/glusterfs-client.vol<br>
volume remote1<br>
type protocol/client<br>
option transport-type tcp<br>
option remote-host 192.168.100.63<br>
option remote-subvolume brick<br>
end-volume<br>
<br>
volume remote2<br>
type protocol/client<br>
option transport-type tcp<br>
option remote-host 192.168.100.64<br>
option remote-subvolume brick<br>
end-volume<br>
<br>
volume replicate<br>
type cluster/replicate<br>
subvolumes remote1 remote2<br>
end-volume<br>
<br>
volume writebehind<br>
type performance/write-behind<br>
option aggregate-size 128KB<br>
option window-size 1MB<br>
subvolumes replicate<br>
end-volume<br>
<br>
volume cache<br>
type performance/io-cache<br>
option cache-size 64MB<br>
subvolumes writebehind<br>
end-volume<br>
<br>
<br>
</font></font>
<pre class="moz-signature" cols="72">--
Kind Regards,
Phillip Walsh
--------------------
</pre>
</body>
</html>