Re: ceph stop service

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

 



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" <jens@xxxxxxxxxxxxxxxxxxxx>
> To: wp@xxxxxxxxx
> Cc: "ceph-users" <ceph-users@xxxxxxxxxxxxxx>
> Sent: Donnerstag, 18. Juli 2013 20:31:00
> Subject: Re:  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,
> jens@xxxxxxxxxxxxxxxxxxxx,
> http://www.mermaidconsulting.com/
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux