CEPH filesystem development
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@inktank.com>
To: "Sławomir Skowron" <szibis@gmail.com>
Cc: "Sage Weil" <sage@inktank.com>,
	"Skowron Sławomir" <slawomir.skowron@grupaonet.pl>,
	"Wido den Hollander" <wido@widodh.nl>,
	ceph-devel@vger.kernel.org
Subject: Re: Inject configuration change into cluster
Date: Mon, 17 Sep 2012 12:49:43 -0700	[thread overview]
Message-ID: <50577ED7.8010907@inktank.com> (raw)
In-Reply-To: <e712fd7a98e1d702636968a323ab2d28@hq.newdream.net>

On 09/17/2012 12:29 AM, Josh Durgin wrote:
> On Mon, 17 Sep 2012 08:36:09 +0200, Sławomir Skowron <szibis@gmail.com>
> 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 <sage@inktank.com> wrote:
>>> Hi,
>>>
>>> <On Wed, 5 Sep 2012, Skowron S?awomir wrote:
>>>> Dnia 5 wrz 2012 o godz. 17:53 "Sage Weil" <sage@inktank.com> napisa?(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 new
>>>>>> 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 injectargs)
>>> and it'll resize the thread pool.
>>>
>>> sage
>>>
>>>>
>>>>> sage
>>>>>
>>>>>>
>>>>>> On Tue, Sep 4, 2012 at 5:34 PM, Sage Weil <sage@inktank.com> wrote:
>>>>>>> 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 could always give
>>>>>>>> it a try.
>>>>>>>
>>>>>>> The thread pool sizes can't currently be adjusted, unfortunately.  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, without
>>>>>>>>>> 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 while the OSD is
>>>>>>>>> running.
>>>>>>>>>
>>>>>>>>> Wido
>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>>
>>>>>>>>>> Slawomir Skowron--
>>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> N???????????????r??????y?????????b???X???????v???^???)?{.n???+?????????z???]z???{ay??? ?????,j ??????f?????????h?????????z??? ???w?????????
>>>>>>>>> ?????????j:+v?????????w???j???m???????????? ????????????zZ+???????j"??????!tml=
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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.html
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> -----
>>>>>> Pozdrawiam
>>>>>>
>>>>>> S?awek "sZiBis" Skowron
>>>>>>
>>>>>>
>>>>

--
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

  reply	other threads:[~2012-09-17 19:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04  5:04 Inject configuration change into cluster Skowron Sławomir
2012-09-04  8:17 ` Wido den Hollander
2012-09-04  8:30   ` Skowron Sławomir
2012-09-04  9:36     ` Wido den Hollander
2012-09-04 10:11       ` Skowron Sławomir
2012-09-04 15:34       ` Sage Weil
2012-09-05 10:37         ` Sławomir Skowron
2012-09-05 15:53           ` Sage Weil
2012-09-05 19:35             ` Skowron Sławomir
2012-09-14 19:12               ` Sage Weil
2012-09-17  6:36                 ` Sławomir Skowron
2012-09-17  7:29                   ` Josh Durgin
2012-09-17 19:49                     ` Josh Durgin [this message]
2012-09-18 21:18                 ` Sage Weil
2012-09-19  5:00                   ` Skowron Sławomir
2012-10-21 17:14                     ` Sébastien Han
2012-10-21 17:28                       ` Wido den Hollander
2012-10-21 17:42                         ` Sébastien Han
2012-10-21 18:51                           ` Yehuda Sadeh
2012-10-21 19:33                             ` Sébastien Han

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50577ED7.8010907@inktank.com \
    --to=josh.durgin@inktank.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@inktank.com \
    --cc=slawomir.skowron@grupaonet.pl \
    --cc=szibis@gmail.com \
    --cc=wido@widodh.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox