On Fri, Oct 21, 2016 at 9:31 PM, Steffen Weißgerber <weissgerbers@xxxxxxx> wrote: > Hello, > > we're running a 6 node ceph cluster with 3 mons on Ubuntu (14.04.4). > > Sometimes it happen's that the mon services die and have to restarted > manually. > > To have reliable service restarts I normally use D.J. Bernsteins deamontools > on other Linux distributions. Until now I never did this on Ubuntu. > > Is there a comparable way to configure such a watcher on services on Ubuntu > (i.e. under systemd)? Systemd handles this for you. The ceph-mon unit file has: Restart=on-failure StartLimitInterval=30min StartLimitBurst=3 Note that systemd only restarts it 3 times in 30 minutes. If it fails more often, you'll have to reset the unit. You can finetune this with drop-ins, see systemd.service(5) for details. > > Regards and have a nice weekend. > > Steffen Kind regards, Ruben Kerkhof _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com