Re: ceph stop service

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

 



On Sat, 20 Jul 2013, Uwe Grohnwaldt wrote:
> Hi,
> 
> anybody an idea how to solve this? Any help would be appreciated.

What OS is this?  upstart is used on ubuntu, but nothing else.  For 
upstart, initctl list | grep ceph will tell you what is running.  For 
sysvinit, the script enumerates daemons by looking at /var/lib/ceph/mon/*.

sage


> 
> Thanks and best regards,
> Uwe
> 
> ----- Original Message -----
> > From: "Uwe Grohnwaldt" <uwe@xxxxxxxxxxxxx>
> > To: "Jens Kristian S?gaard" <jens@xxxxxxxxxxxxxxxxxxxx>
> > Cc: "ceph-users" <ceph-users@xxxxxxxxxxxxxx>, wp@xxxxxxxxx
> > Sent: Donnerstag, 18. Juli 2013 20:34:53
> > Subject: Re:  ceph stop service
> > 
> > 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 = ceph01, 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
> > 
> _______________________________________________
> 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