Hi,

We’re setting up a new cluster, but we’re having trouble restarting the monitor 
services.

The problem is the difference between the ceph.service and ceph-mon@osd11 
service in our case.


root@osd11:/etc/init.d# /bin/systemctl status ceph.service
● ceph.service - LSB: Start Ceph distributed file system daemons at boot time
   Loaded: loaded (/etc/init.d/ceph)
   Active: active (exited) since Mon 2016-03-07 15:13:28 UTC; 49s ago
  Process: 5168 ExecStart=/etc/init.d/ceph start (code=exited, status=0/SUCCESS)

root@osd11:/etc/init.d# systemctl status ceph-mon@osd11
● ceph-mon@osd11.service - Ceph cluster monitor daemon
   Loaded: loaded (/lib/systemd/system/ceph-mon@.service; enabled)
   Active: active (running) since Mon 2016-03-07 15:08:27 UTC; 24min ago
 Main PID: 5044 (ceph-mon)
   CGroup: /system.slice/system-ceph\x2dmon.slice/ceph-mon@osd11.service
           └─5044 /usr/bin/ceph-mon -f --cluster ceph --id osd11 --setuser ceph 
--setgroup ceph

Mar 07 15:08:27 osd11 ceph-mon[5044]: starting mon.osd11 rank 0 at 
10.168.7.31:6789/0 mon_data /var/lib/ceph/mon/ceph-osd11 fsid 
aa6c952d-3149-4679-8e44-a6bf250d8c48


If I were top ‘stop’ the ceph-mon process

root@osd11:/etc/init# service ceph stop -a

The service is still up.

root@osd11:/etc/init# systemctl status ceph-mon@osd11
● ceph-mon@osd11.service - Ceph cluster monitor daemon
   Loaded: loaded (/lib/systemd/system/ceph-mon@.service; enabled)
   Active: active (running) since Mon 2016-03-07 15:08:27 UTC; 29min ago
 Main PID: 5044 (ceph-mon)
   CGroup: /system.slice/system-ceph\x2dmon.slice/ceph-mon@osd11.service
           └─5044 /usr/bin/ceph-mon -f --cluster ceph --id osd11 --setuser ceph 
--setgroup ceph

Mar 07 15:08:27 osd11 ceph-mon[5044]: starting mon.osd11 rank 0 at 
10.168.7.31:6789/0 mon_data /var/lib/ceph/mon/ceph-osd11 fsid 
aa6c952d-3149-4679-8e44-a6bf250d8c48


I see a lot of systemd/init.d loops here but could anyone explain how it’s 
supposed to work?
Is there something missing from our confs?

Thanks,
Josef
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to