[PVE-User] How to restart ceph-mon?

Alwin Antreich a.antreich at proxmox.com
Thu Feb 20 17:28:20 CET 2020


On Thu, Feb 20, 2020 at 03:14:01PM +0100, Marco Gaiarin wrote:
> Mandi! Alwin Antreich
>   In chel di` si favelave...
> 
> > > it is time to kill it?
> > I suppose you did that already. Did it work?
> 
> No, i've done just now. But yes, a 'kill' worked. Monitor restarted.
> 
> Only a little note. On boot, monitor run with this cmdline:
> 
> 	root at deadpool:~# ps aux | grep ceph-[m]on
> 	ceph        2402  0.6  2.1 808428 356540 ?       Ssl  feb18  16:43 /usr/bin/ceph-mon -i 4 --pid-file /var/run/ceph/mon.4.pid -c /etc/ceph/ceph.conf --cluster ceph --setuser ceph --setgroup ceph
> 
> on 'systemctl start ceph-mon@<ID>.service', monitor run with:
> 
> 	root at hulk:~# ps aux | grep ceph-[m]on
> 	ceph     3276772 36.0  0.7 768580 357484 ?       Ssl  15:05   0:04 /usr/bin/ceph-mon -f --cluster ceph --id 2 --setuser ceph --setgroup ceph
> 
> eg, without '--pid-file /var/run/ceph/mon.4.pid -c /etc/ceph/ceph.conf'
> and with a different cmdline.
Yes, that looks strange. But as said before, it is deprecated to use
IDs. Best destroy and re-create the MON one-by-one. The default command
will create them with the hostname as ID. Then this phenomenon should
disappear as well.

--
Cheers,
Alwin




More information about the pve-user mailing list