[Samba] start/stop ctdb
Micha Ballmann
ballmann at uni-landau.de
Tue Mar 3 07:36:46 UTC 2020
Hi,
i configured a running three node CTDB SAMBA cluster (hope so). Virtual
ip's are floating between the nodes after faling one of them. Im using
SAMBA 4.11.6 on Ubuntu 18.04. Samba was compiled from source. I
configured some systemD start/stop scripts for samba (smbd, nmbd) and
winbind, also disabled them for manage via ctdb.
I enabled ctdb to mange samba and winbind via this description:
https://wiki.samba.org/index.php/Configuring_clustered_Samba
Now i can start/stop CTDB , SAMBA and winbind by using:
# ctdbd_wrapper start/stop
Now im trying to find a systemD script for CTDB . Is there somewherea
template script flying through the internet? I installed CTDB on a other
maschine by repo and tried to copy the start/stop script but this
distribution provides only SysVinit script.
Maybe you can hep here:
----
[Unit]
Description=CTDB
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
ExecStart=???
PIDFile=???
[Install]
WantedBy=multi-user.target
----
My CTDB is installed in: /usr/local/samba
...
/usr/local/samba/sbin/ctdbd_wrapper
/usr/local/samba/var/run/ctdb
...
Thanks
micha
More information about the samba
mailing list