Hi,
So, you can find the documentation for configuring CTDB for gluster backend here:
I guess you have missed creating CTDB volume and mounting it on all nodes and using that volume to store ctdb lock file.
If that is the case, then that explains the 2 issues you are facing.
Also, once you follow the steps in the documentation, change the ctdb.conf to:
CTDB_RECOVERY_LOCK=/gluster/lock
Will update the documentation to include this step as well.
Let us know if it helped.
Regards,
Poornima
From: "Daniel Filipazzi" <daniel.filipazzi@xxxxxxxxx>
To: gluster-users@xxxxxxxxxxx
Sent: Thursday, March 10, 2016 7:17:09 PM
Subject: glusterfs ctdb issuesIve 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 Sambapublic = yespath = /share/writeable = yesea support = yesAnd this does not.[gluster-share]comment = sharevfs objects = glusterfsglusterfs:volume = shareglusterfs:logfile = /var/log/samba/glusterfs-share.%M.logglusterfs:loglevel = 7path = /read _only_ = noguest ok = yesI 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.10192.168.1.11192.168.1.13public_addresses:192.168.1.212/24 eth1ctdb:CTDB_RECOVERY_LOCK=/opt/samba-config/lockfileCTDB_PUBLIC_ADDRESSES=/opt/samba-config/public_addressesCTDB_MANAGES_SAMBA=yesCTDB_MANAGES_WINBIND=yesCTDB_LOGFILE=/var/log/log.ctdbCTDB_SYSLOG=noOverall 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
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users