glusterfs ctdb issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ive installed glusterfs successfully and set up the ctdb module to work with it.
When creating a new glusterfs volume glusterfs writes to smb.conf to create a share automatically, the share does not work "Unable to mount location". 
I successfully created a share pointing to the gluster mount point see below, but i cant get the HA feature to work.


This works!
[csmb]
comment = Clustered Samba
public = yes
path = /share/
writeable = yes
ea support = yes

And this does not.

[gluster-share]
comment = share
vfs objects = glusterfs
glusterfs:volume = share
glusterfs:logfile = /var/log/samba/glusterfs-share.%M.log
glusterfs:loglevel = 7
path = /
read _only_ = no
guest ok = yes

I used 3 nodes with a replicated glusterfs share to test this.
So i have 2 issues i need solved.
1. the config that glusterfs writes to smb.conf doesnt work why?
2. when one of the nodes shutsdown while a client writes to a ctdb share it stops completely and the client cant write to the share anymore. How do i get around this? 
The other nodes should take over so the client can be able to write to the share when a node goes down.

The ctdb config:
 nodes:
192.168.1.10
192.168.1.11
192.168.1.13

public_addresses:
192.168.1.212/24 eth1

ctdb:
CTDB_RECOVERY_LOCK=/opt/samba-config/lockfile
CTDB_PUBLIC_ADDRESSES=/opt/samba-config/public_addresses
CTDB_MANAGES_SAMBA=yes
CTDB_MANAGES_WINBIND=yes
CTDB_LOGFILE=/var/log/log.ctdb
CTDB_SYSLOG=no


Overall im having a hard time to make ctdb work properly, i would appreciate other peoples insight and thoughts around ctdb. To me it doesnt realy feel like a stable product.
Would you advice me to use ctdb in an environment that's in production?

Best regards 
 
-- 

Daniel Filipazzi 
Division of Oncology 
Department of Clinical Sciences, Lund 
Lund University Cancer Center/Medicon Village 
Building 404:B3 Scheelevägen 2 
SE-223 81 Lund 
Sweden 

Email: Daniel.filipazzi@xxxxxxxxx
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux