Hi,
first ceph mon dump:
dumped monmap epoch 2
epoch 2
fsid b8c3e27a-5f9a-4367-9b73-4451360c747c
last_changed 2013-07-09 05:19:07.776307
created 0.000000
0: 10.0.104.31:6789/0 mon.ceph01
1: 10.0.104.32:6789/0 mon.ceph02
2: 10.0.104.33:6789/0 mon.ceph03
second: /etc/ceph.conf
[global]
fsid = b8c3e27a-5f9a-4367-9b73-4451360c747c
mon_initial_members = infernum-dp-test-storage01, ceph02, ceph03
mon_host = 10.0.104.31,10.0.104.32,10.0.104.33
auth_supported = none
osd_journal_size = 1024
filestore_xattr_use_omap = true
we tried to stop ceph-mon with:
#service ceph stop mon.1
/etc/init.d/ceph: mon.1 not found (/etc/ceph/ceph.conf defines , /var/lib/ceph
defines )
after this we added to /etc/ceph.conf:
[mon.0]
host = ceph01
[mon.1]
host = ceph02
[mon.2]
host = ceph03
and tried again:
=== mon.1 ===
Stopping Ceph mon.1 on ceph02...done
and still get: root@ceph02:~# ceph -w
health HEALTH_OK
monmap e2: 3 mons at
{ceph02=10.0.104.32:6789/0,ceph03=10.0.104.33:6789/0,ceph01=10.0.104.31:6789/0},
election epoch 26, quorum 0,1,2 ceph02,ceph03,ceph01
even with stop ceph-mon id=1:
root@ceph02:~# stop ceph-mon id=1
stop: Unknown instance: ceph/1
Mit freundlichen Grüßen / Best Regards,
--
Uwe Grohnwaldt
----- Original Message -----
> From: "Jens Kristian Søgaard" <[email protected]>
> To: [email protected]
> Cc: "ceph-users" <[email protected]>
> Sent: Donnerstag, 18. Juli 2013 20:31:00
> Subject: Re: [ceph-users] ceph stop service
>
> Hi,
>
> > service ceph stop mon
> > doesn't work.
> > how i can stop some osds or mons ?
>
> Try for example:
>
> service ceph stop mon.a
>
> or
>
> service ceph stop osd.1
>
> replacing "a" and "1" with the id, you want to stop.
>
> --
> Jens Kristian Søgaard, Mermaid Consulting ApS,
> [email protected],
> http://www.mermaidconsulting.com/
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com