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

Marco Gaiarin gaio at sv.lnf.it
Thu Feb 20 15:14:01 CET 2020


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.


FYI.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)


More information about the pve-user mailing list