From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Durgin Subject: Re: Inject configuration change into cluster Date: Mon, 17 Sep 2012 12:49:43 -0700 Message-ID: <50577ED7.8010907@inktank.com> References: <1FC69721-C852-4B56-ACE6-073137C5290D@portal.onet.pl> <5045B928.1050706@widodh.nl> <1BF27E0D85AE8C45A1BB84890DC4BFFB8A7C49@MXMBON05.grupa.onet> <5045CB80.50508@widodh.nl> <58915F57-D1DA-4BBE-A205-A5063DDCD789@grupaonet.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-pb0-f46.google.com ([209.85.160.46]:45886 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752508Ab2IQTtq (ORCPT ); Mon, 17 Sep 2012 15:49:46 -0400 Received: by pbbrr13 with SMTP id rr13so9522656pbb.19 for ; Mon, 17 Sep 2012 12:49:46 -0700 (PDT) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: =?UTF-8?B?U8WCYXdvbWlyIFNrb3dyb24=?= Cc: Sage Weil , =?UTF-8?B?U2tvd3JvbiBTxYJhd29taXI=?= , Wido den Hollander , ceph-devel@vger.kernel.org On 09/17/2012 12:29 AM, Josh Durgin wrote: > On Mon, 17 Sep 2012 08:36:09 +0200, S=C5=82awomir Skowron > wrote: >> Ok, i will try, but i have all day meeting today, and tomorrow. >> >> One more question, is there any way to check configuration not from >> ceph.conf, but from running daemon in cluster ?? > > You can do this with the admin socket: > > ceph --admin-daemon /path/to/admin/socket show config Oops, that should be: ceph --admin-daemon /path/to/admin/socket config show You can see all the available commands with: ceph --admin-daemon /path/to/admin/socket help > > Josh > >> >> On Fri, Sep 14, 2012 at 9:12 PM, Sage Weil wrote: >>> Hi, >>> >>> >>> Dnia 5 wrz 2012 o godz. 17:53 "Sage Weil" napis= a?(a): >>>> >>>>> On Wed, 5 Sep 2012, S?awomir Skowron wrote: >>>>>> Ok, but in global case, when i use, a chef/puppet or any other, = i wish >>>>>> to change configuration in ceph.conf, and reload daemon to get n= ew >>>>>> configuration changes from ceph.conf, this feature would be very >>>>>> helpful in ceph administration. >>>>>> >>>>>> Inject is ok, for testing, or debuging. >>>>> >>>>> Opened http://tracker.newdream.net/issues/3086. There is already= an issue >>>>> open for reloading the config file, >>>>> http://tracker.newdream.net/issues/2459. >>>>> >>>> >>>> Thanks. This is what i mean. >>>> Is this feature have a chance, to be implemented in next months ?? >>> >>> I pushed a branch, wip-tp, that implements this. Want to give it a= spin? >>> Just inject the config option change (via the admin socket or injec= targs) >>> and it'll resize the thread pool. >>> >>> sage >>> >>>> >>>>> sage >>>>> >>>>>> >>>>>> On Tue, Sep 4, 2012 at 5:34 PM, Sage Weil wro= te: >>>>>>> On Tue, 4 Sep 2012, Wido den Hollander wrote: >>>>>>>> On 09/04/2012 10:30 AM, Skowron S?awomir wrote: >>>>>>>>> Ok, thanks. >>>>>>>>> >>>>>>>>> Number of workers used for recover, or numer of disk threads. >>>>>>>>> >>>>>>>> >>>>>>>> I think those can be changed while the OSD is running. You cou= ld always give >>>>>>>> it a try. >>>>>>> >>>>>>> The thread pool sizes can't currently be adjusted, unfortunatel= y. It >>>>>>> wouldn't be too difficult to change that... >>>>>>> >>>>>>> sage >>>>>>> >>>>>>>> >>>>>>>> Wido >>>>>>>> >>>>>>>>> -----Original Message----- >>>>>>>>> From: Wido den Hollander [mailto:wido@widodh.nl] >>>>>>>>> Sent: Tuesday, September 04, 2012 10:18 AM >>>>>>>>> To: Skowron S?awomir >>>>>>>>> Cc: ceph-devel@vger.kernel.org >>>>>>>>> Subject: Re: Inject configuration change into cluster >>>>>>>>> >>>>>>>>> On 09/04/2012 07:04 AM, Skowron S?awomir wrote: >>>>>>>>>> Is there any way now, to inject new configuration change, wi= thout >>>>>>>>>> restarting daemons ?? >>>>>>>>>> >>>>>>>>> >>>>>>>>> Yes, you can use the injectargs command. >>>>>>>>> >>>>>>>>> $ ceph osd tell 0 injectargs '--debug-osd 20' >>>>>>>>> >>>>>>>>> What do you want to change? Not everything can be changed whi= le the OSD is >>>>>>>>> running. >>>>>>>>> >>>>>>>>> Wido >>>>>>>>> >>>>>>>>>> Regards >>>>>>>>>> >>>>>>>>>> Slawomir Skowron-- >>>>>>>>>> To unsubscribe from this list: send the line "unsubscribe ce= ph-devel" >>>>>>>>>> in the body of a message to majordomo@vger.kernel.org More m= ajordomo >>>>>>>>>> info at http://vger.kernel.org/majordomo-info.html >>>>>>>>>> >>>>>>>>> >>>>>>>>> N???????????????r??????y?????????b???X???????v???^???)?{.n???= +?????????z???]z???{ay??? ?????,j ??????f?????????h?????????z??? ???w??= ??????? >>>>>>>>> ?????????j:+v?????????w???j???m???????????? ????????????zZ+??= ?????j"??????!tml=3D >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> To unsubscribe from this list: send the line "unsubscribe ceph= -devel" in >>>>>>>> the body of a message to majordomo@vger.kernel.org >>>>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.= html >>>>>>>> >>>>>>>> >>>>>>> -- >>>>>>> To unsubscribe from this list: send the line "unsubscribe ceph-= devel" in >>>>>>> the body of a message to majordomo@vger.kernel.org >>>>>>> More majordomo info at http://vger.kernel.org/majordomo-info.h= tml >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> ----- >>>>>> Pozdrawiam >>>>>> >>>>>> S?awek "sZiBis" Skowron >>>>>> >>>>>> >>>> -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html