[Samba] start/stop ctdb
Anoop C S
anoopcs at cryptolab.net
Tue Mar 3 08:18:24 UTC 2020
On Tue, 2020-03-03 at 08:36 +0100, Micha Ballmann via samba wrote:
> i configured a running three node CTDB SAMBA cluster (hope so).
> ip's are floating between the nodes after faling one of them. Im
> SAMBA 4.11.6 on Ubuntu 18.04. Samba was compiled from source. I
> configured some systemD start/stop scripts for samba (smbd, nmbd)
> winbind, also disabled them for manage via ctdb.
> I enabled ctdb to mange samba and winbind via this description:
> 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
> template script flying through the internet? I installed CTDB on a
> maschine by repo and tried to copy the start/stop script but this
> distribution provides only SysVinit script.
> Maybe you can hep here:
> After=network.target remote-fs.target nss-lookup.target
> My CTDB is installed in: /usr/local/samba
We do have a general standard systemd service file in our sources
itself. Please see the following link(for tag samba-4.11.6):
You may have to update some variables like PIDFile, ExecStart, ExecStop
accordingly to point to non-standard installation paths.
More information about the samba