Antw: Re: reliable monitor restarts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


>>> Ruben Kerkhof <ruben@xxxxxxxxxxxxxxxx> schrieb am Samstag, 22.
Oktober 2016 um
12:57:
> 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.
> 

It seems that no unit files are installed at the moment:

root@al63:~# ls /etc/systemd/system/
multi-user.target.wants  sockets.target.wants  sshd.service 
syslog.service

Is it possible to configure this manually based on the files from 
https://github.com/ceph/ceph/tree/master/systemd ?

>>
>> Regards and have a nice weekend.
>>
>> Steffen
> 
> Kind regards,
> 
> Ruben Kerkhof

Thank you and regards

Steffen

-- 
Klinik-Service Neubrandenburg GmbH
Allendestr. 30, 17036 Neubrandenburg
Amtsgericht Neubrandenburg, HRB 2457
Geschaeftsfuehrerin: Gudrun Kappich
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux