Hello,

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!

Configuration:

2 x server running:
# file: /etc/glusterfs/glusterfs-server.vol
volume posix
  type storage/posix
  option directory /data
end-volume

volume locks
  type features/locks
  subvolumes posix
end-volume

volume brick
  type performance/io-threads
  option thread-count 8
  subvolumes locks
end-volume

volume server
  type protocol/server
  option transport-type tcp
  option auth.addr.brick.allow *
  subvolumes brick
end-volume

2 servers and all clients running:
# file: /etc/glusterfs/glusterfs-client.vol
volume remote1
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.100.63
  option remote-subvolume brick
end-volume

volume remote2
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.100.64
  option remote-subvolume brick
end-volume

volume replicate
  type cluster/replicate
  subvolumes remote1 remote2
end-volume

volume writebehind
  type performance/write-behind
  option aggregate-size 128KB
  option window-size 1MB
  subvolumes replicate
end-volume

volume cache
  type performance/io-cache
  option cache-size 64MB
  subvolumes writebehind
end-volume


-- 
Kind Regards,

Phillip Walsh
--------------------



_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users

Reply via email to