[Samba] CTDB Samba 4.10 example?
sascha.brutscher at medicomp.de
Tue Jul 9 12:35:23 UTC 2019
I use Samba 4.9 since its releaseday and also had some troubles first due to the lack of informations in the wiki.
Anyways... after some try & error i got it working and since i run the Cluster (non-production environment) had no errors except CTDBs monitoring of the Samba process did'nt work as i would expect it
(RPC-Server was dead but CTDB did'nt complain and "ctdb scriptstatus" shown "50.Samba - OK")
so there could be a little misconfiguration in my following advices couse i did'nt look further into it yet.
Anyways... heres what i did:
## IN /etc/ctdb/script.options
## (this was the most tricky thing for me since i use the sernet build)
| CTDB_SAMBA_SKIP_SHARE_CHECK=yes # For me this is needed couse of the use of the vfs_glusterfs module. You may not need it.
## IN /etc/ctdb/commands.sh
| ctdb event script enable legacy 50.samba
| ctdb event script enable legacy 49.winbind
## IN /etc/ctdb/ctdb.conf
| recovery lock = /pathTo/your/.ctdb/lockfile
## IN /etc/ctdb/nodes you only have to add your heartbeat IPs
## IN /etc/ctdb/public_addresses
| 192.168.1.111/30 ens160
| 192.168.1.112/30 ens160
I hope this will help you getting your cluster to work.
| from SAMBA 4.9/4.10 there was a big change regarding CTDB. Does anyone
| have an example configuration, how to configure a CTDB cluster from
| version 4.10?
| Is there someone who run CTDB with SAMBA 4.10?
| Best regards
More information about the samba