<html><body><div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000"><div>Hi,<br></div><div><br></div><div>So, you can find the documentation for configuring CTDB for gluster backend here:<br></div><div><a href="https://github.com/gluster/glusterdocs/blob/master/Administrator%20Guide/Accessing%20Gluster%20from%20Windows.md">https://github.com/gluster/glusterdocs/blob/master/Administrator%20Guide/Accessing%20Gluster%20from%20Windows.md</a></div><div><br></div><div>I guess you have missed creating CTDB volume and mounting it on all nodes and using that volume to store ctdb lock file.<br></div><div><br>If that is the case, then that explains the 2 issues you are facing.<br></div><div><br></div><div>Also, once you follow the steps in the documentation, change the ctdb.conf to:<br></div><div>CTDB_RECOVERY_LOCK=/gluster/lock</div><div><br></div><div>Will update the documentation to include this step as well.<br></div><div><br></div><div>Let us know if it helped.<br></div><div><br></div><div>Regards,<br></div><div>Poornima<br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Daniel Filipazzi" &lt;daniel.filipazzi@med.lu.se&gt;<br><b>To: </b>gluster-users@gluster.org<br><b>Sent: </b>Thursday, March 10, 2016 7:17:09 PM<br><b>Subject: </b>[Gluster-users] glusterfs ctdb issues<br><div><br></div><div>Ive installed glusterfs successfully and set up the ctdb module to work with it.</div><div>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".&nbsp;</div><div>I successfully created a share pointing to the gluster mount point see below, but i cant get the HA feature to work.</div><div><br></div><div><br></div><div>This works!</div><blockquote><div>[csmb]</div><div>comment = Clustered Samba</div><div>public = yes</div><div>path = /share/</div><div>writeable = yes</div><div>ea support = yes</div></blockquote><div><br></div><div>And this does not.</div><div><br></div><div>[gluster-share]</div><div>comment = share</div><div>vfs objects = glusterfs</div><div>glusterfs:volume = share</div><div>glusterfs:logfile = /var/log/samba/glusterfs-share.%M.log</div><div>glusterfs:loglevel = 7</div><div>path = /</div><div>read only = no</div><div>guest ok = yes</div><div><br></div><div>I used 3 nodes with a replicated glusterfs share to test this.</div><div>So i have 2 issues i need solved.</div><div>1. the config that glusterfs writes to smb.conf doesnt work why?</div><div>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?&nbsp;</div><div>The other nodes should take over so the client can be able to write to the share when a node goes down.</div><div><br></div><div>The ctdb config:</div><div>&nbsp;nodes:</div><div>192.168.1.10</div><div>192.168.1.11</div><div>192.168.1.13</div><div><br></div><div>public_addresses:</div><div>192.168.1.212/24 eth1</div><div><br></div><div>ctdb:</div><div>CTDB_RECOVERY_LOCK=/opt/samba-config/lockfile</div><div>CTDB_PUBLIC_ADDRESSES=/opt/samba-config/public_addresses</div><div>CTDB_MANAGES_SAMBA=yes</div><div>CTDB_MANAGES_WINBIND=yes</div><div>CTDB_LOGFILE=/var/log/log.ctdb</div><div>CTDB_SYSLOG=no</div><div><br></div><div><br></div><div>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.</div><div>Would you advice me to use ctdb in an environment that's in production?</div><div><br></div><div>Best regards&nbsp;</div><div>&nbsp;</div><div><pre>-- 

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

Email: Daniel.filipazzi@med.lu.se</pre></div><br>_______________________________________________<br>Gluster-users mailing list<br>Gluster-users@gluster.org<br>http://www.gluster.org/mailman/listinfo/gluster-users</blockquote><div><br></div></div></body></html>