[Samba] Can CTDB respawn Samba?

Nicolas Ecarnot nicolas at ecarnot.net
Tue Apr 3 08:21:22 MDT 2012


Hi,

In the config file of ctdb is a parameter to manage Samba daemon :

CTDB_MANAGES_SAMBA=yes

When starting and stopping ctdb, I confirm samba correctly gets started 
and stopped.

There a builtin method for ctdb to monitor smb - My log files are 
showing me that the port 445 gets monitored, and ctdb becomes unhealthy 
when it fails to reach it.
But is there a builtin method to react to such event and restart samba 
daemon?

Thanks.

-- 
Nicolas Ecarnot


More information about the samba mailing list