Comments on High-Availability Storage With GlusterFS 3.2.x On Debian Wheezy - Automatic File Replication (Mirror) Across Two Storage Servers
This tutorial shows how to set up a high-availability storage with two storage servers (Debian Wheezy) that use GlusterFS. Each storage server will be a mirror of the other storage server, and files will be replicated automatically across both storage servers. The client system (Debian Wheezy as well) will be able to access the storage as if it was a local filesystem. GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. Storage bricks can be made of any commodity hardware such as x86_64 servers with SATA-II RAID and Infiniband HBA.
4 Comment(s)
Comments
If under situation where gluster client is running on the same machine as host (common situation where You have 2 hosts with gluster-based replication and those hosts mounts those gluster's replicated storages) then _netdev may not be enough. _netdev option is discovered by /etc/init.d/mountnfs and this is source of problem as mountnfs is started before 'gluster-server' service. If You would change this with Required-Start or X-Start-Before/After in init scripts it still could not work. I tried with dependency boot sequencing in those LSB scripts but no luck there. So I've created workaround - service, that detects and mounts drives with _nfs option and glusterfs type in fstab and mounts those. And there's more - You can set up Your dependency trees based on this service - quite useful when You have to start another services depending on glusterfs filesystem. You can check it here: https://github.com/docent-net/mountglusterfs
Has someone tried this tutorial with windows clients?
This is what you need: http://blog.gluster.org/category/high-availability/
Thank you very mutch!!!