[CentOS] CENTOS and GlusterFS

Fri May 16 22:39:46 UTC 2014
Nux! <nux at li.nux.ro>

On 15.05.2014 17:54, Alessandro Baggi wrote:
> Hi list,
> I'm planning to setup a two-node "cluster" with file replication and 
> samba.
> I've used drbd in the  past with success, but now there isn't drbd on
> the official repo but only from elrepo. I want follow centos Line and
> than switch to GlusterFS.
> 
> Said that, I'm new to GlusterFS.
> 
> I have two hosts with a 2tb disk space for replica.
> I've ridden that glusterfs is not compatible with smb/cifs/nfs and 
> that
> for this purpose I must mount locally the volume and share it with 
> samba
> and the hosts must act as client and server at the same time.
> 
> It is possibile shares a mounted disk on /data with samba, and apply a
> replica volume on /data without using glusterfs export?
> 
> Example:
> [Host1]                          [Host2]
> /data -> smb                     /data -> smb
> gluster_replica<---------------->gluster_replica
> 
> 
> Ip and services will be managed from corosync+pacemaker.
> 
> 
> There will be problems and complication with this configuration about
> replication/sync?
> 
> Thanks in advance.

Hello,

Before you start, please note Samba can now talk directly to GlusterFS, 
no need to mount it (please double check if stock version can do this, 
upstream does), as for HA check 
http://download.gluster.org/pub/gluster/glusterfs/doc/Gluster_CTDB_setup.v1.pdf

HTH
Lucian

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro