All of lore.kernel.org
 help / color / mirror / Atom feed
* Inject configuration change into cluster
@ 2012-09-04  5:04 Skowron Sławomir
  2012-09-04  8:17 ` Wido den Hollander
  0 siblings, 1 reply; 20+ messages in thread
From: Skowron Sławomir @ 2012-09-04  5:04 UTC (permalink / raw)
  To: ceph-devel

Is there any way now, to inject new configuration change, without restarting daemons ??

Regards

Slawomir Skowron

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  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
  0 siblings, 1 reply; 20+ messages in thread
From: Wido den Hollander @ 2012-09-04  8:17 UTC (permalink / raw)
  To: Skowron Sławomir; +Cc: ceph-devel

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
>

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: Inject configuration change into cluster
  2012-09-04  8:17 ` Wido den Hollander
@ 2012-09-04  8:30   ` Skowron Sławomir
  2012-09-04  9:36     ` Wido den Hollander
  0 siblings, 1 reply; 20+ messages in thread
From: Skowron Sławomir @ 2012-09-04  8:30 UTC (permalink / raw)
  To: 'Wido den Hollander'; +Cc: ceph-devel

Ok, thanks.

Number of workers used for recover, or numer of disk threads.

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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  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
  0 siblings, 2 replies; 20+ messages in thread
From: Wido den Hollander @ 2012-09-04  9:36 UTC (permalink / raw)
  To: Skowron Sławomir; +Cc: ceph-devel

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.

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�\x1dʇڙ�,j\a��f���h���z�\x1e�w���\f���j:+v���w�j�m����\a����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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: Inject configuration change into cluster
  2012-09-04  9:36     ` Wido den Hollander
@ 2012-09-04 10:11       ` Skowron Sławomir
  2012-09-04 15:34       ` Sage Weil
  1 sibling, 0 replies; 20+ messages in thread
From: Skowron Sławomir @ 2012-09-04 10:11 UTC (permalink / raw)
  To: 'Wido den Hollander'; +Cc: ceph-devel

Yes i will try :) thanks.

-----Original Message-----
From: Wido den Hollander [mailto:wido@widodh.nl] 
Sent: Tuesday, September 04, 2012 11:36 AM
To: Skowron Sławomir
Cc: ceph-devel@vger.kernel.org
Subject: Re: Inject configuration change into cluster

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.

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 \x1dʇڙ ,j   f   h   z \x1e w   
   j:+v   w j m         zZ+  ݢj"  !tml=
>


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  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
  1 sibling, 1 reply; 20+ messages in thread
From: Sage Weil @ 2012-09-04 15:34 UTC (permalink / raw)
  To: Wido den Hollander; +Cc: Skowron Sławomir, ceph-devel

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???\x1d?????,j\a??????f?????????h?????????z???\x1e???w?????????
> > ?????????j:+v?????????w???j???m????????????\a????????????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
> 
> 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-09-04 15:34       ` Sage Weil
@ 2012-09-05 10:37         ` Sławomir Skowron
  2012-09-05 15:53           ` Sage Weil
  0 siblings, 1 reply; 20+ messages in thread
From: Sławomir Skowron @ 2012-09-05 10:37 UTC (permalink / raw)
  To: Sage Weil; +Cc: Wido den Hollander, Skowron Sławomir, ceph-devel

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.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-09-05 10:37         ` Sławomir Skowron
@ 2012-09-05 15:53           ` Sage Weil
  2012-09-05 19:35             ` Skowron Sławomir
  0 siblings, 1 reply; 20+ messages in thread
From: Sage Weil @ 2012-09-05 15:53 UTC (permalink / raw)
  To: Sławomir Skowron
  Cc: Wido den Hollander, Skowron Sławomir, ceph-devel

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.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-09-05 15:53           ` Sage Weil
@ 2012-09-05 19:35             ` Skowron Sławomir
  2012-09-14 19:12               ` Sage Weil
  0 siblings, 1 reply; 20+ messages in thread
From: Skowron Sławomir @ 2012-09-05 19:35 UTC (permalink / raw)
  To: Sage Weil; +Cc: Sławomir Skowron, Wido den Hollander, ceph-devel

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

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  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-18 21:18                 ` Sage Weil
  0 siblings, 2 replies; 20+ messages in thread
From: Sage Weil @ 2012-09-14 19:12 UTC (permalink / raw)
  To: Skowron Sławomir
  Cc: Sławomir Skowron, Wido den Hollander, ceph-devel

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-09-14 19:12               ` Sage Weil
@ 2012-09-17  6:36                 ` Sławomir Skowron
  2012-09-17  7:29                   ` Josh Durgin
  2012-09-18 21:18                 ` Sage Weil
  1 sibling, 1 reply; 20+ messages in thread
From: Sławomir Skowron @ 2012-09-17  6:36 UTC (permalink / raw)
  To: Sage Weil; +Cc: Skowron Sławomir, Wido den Hollander, ceph-devel

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

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



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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-09-17  6:36                 ` Sławomir Skowron
@ 2012-09-17  7:29                   ` Josh Durgin
  2012-09-17 19:49                     ` Josh Durgin
  0 siblings, 1 reply; 20+ messages in thread
From: Josh Durgin @ 2012-09-17  7:29 UTC (permalink / raw)
  To: Sławomir Skowron
  Cc: Sage Weil, Skowron Sławomir, Wido den Hollander, ceph-devel

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

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-09-17  7:29                   ` Josh Durgin
@ 2012-09-17 19:49                     ` Josh Durgin
  0 siblings, 0 replies; 20+ messages in thread
From: Josh Durgin @ 2012-09-17 19:49 UTC (permalink / raw)
  To: Sławomir Skowron
  Cc: Sage Weil, Skowron Sławomir, Wido den Hollander, ceph-devel

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-09-14 19:12               ` Sage Weil
  2012-09-17  6:36                 ` Sławomir Skowron
@ 2012-09-18 21:18                 ` Sage Weil
  2012-09-19  5:00                   ` Skowron Sławomir
  1 sibling, 1 reply; 20+ messages in thread
From: Sage Weil @ 2012-09-18 21:18 UTC (permalink / raw)
  To: Skowron Sławomir
  Cc: Sławomir Skowron, Wido den Hollander, ceph-devel

On Fri, 14 Sep 2012, Sage Weil 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.

This is merged into master and will be in v0.53.

sage

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-09-18 21:18                 ` Sage Weil
@ 2012-09-19  5:00                   ` Skowron Sławomir
  2012-10-21 17:14                     ` Sébastien Han
  0 siblings, 1 reply; 20+ messages in thread
From: Skowron Sławomir @ 2012-09-19  5:00 UTC (permalink / raw)
  To: Sage Weil; +Cc: Sławomir Skowron, Wido den Hollander, ceph-devel

Ok, thanks, i try this on INT, but on production, i will stay with stable release, and wait for merge in next stable.

Regards

Slawomir Skowron

Dnia 18 wrz 2012 o godz. 23:18 "Sage Weil" <sage@inktank.com> napisał(a):

> On Fri, 14 Sep 2012, Sage Weil 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.
> 
> This is merged into master and will be in v0.53.
> 
> sage
> 
>> 
>> 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
>> 
>> 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-09-19  5:00                   ` Skowron Sławomir
@ 2012-10-21 17:14                     ` Sébastien Han
  2012-10-21 17:28                       ` Wido den Hollander
  0 siblings, 1 reply; 20+ messages in thread
From: Sébastien Han @ 2012-10-21 17:14 UTC (permalink / raw)
  To: Skowron Sławomir
  Cc: Sage Weil, Sławomir Skowron, Wido den Hollander, ceph-devel

"ceph osd tell 0 injectargs" doesn't seem to propagate the changes
across all the OSDs. Does this command need to be repeated N times?
(where N is our number of OSD)

Thanks in advance!

On Wed, Sep 19, 2012 at 7:00 AM, Skowron Sławomir
<slawomir.skowron@grupaonet.pl> wrote:
> Ok, thanks, i try this on INT, but on production, i will stay with stable release, and wait for merge in next stable.
>
> Regards
>
> Slawomir Skowron
>
> Dnia 18 wrz 2012 o godz. 23:18 "Sage Weil" <sage@inktank.com> napisał(a):
>
>> On Fri, 14 Sep 2012, Sage Weil 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.
>>
>> This is merged into master and will be in v0.53.
>>
>> sage
>>
>>>
>>> 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
>>>
>>>
--
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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-10-21 17:14                     ` Sébastien Han
@ 2012-10-21 17:28                       ` Wido den Hollander
  2012-10-21 17:42                         ` Sébastien Han
  0 siblings, 1 reply; 20+ messages in thread
From: Wido den Hollander @ 2012-10-21 17:28 UTC (permalink / raw)
  To: Sébastien Han
  Cc: Skowron Sławomir, Sage Weil, Sławomir Skowron, ceph-devel





Op 21 okt. 2012 om 19:14 heeft Sébastien Han <han.sebastien@gmail.com> het volgende geschreven:

> "ceph osd tell 0 injectargs" doesn't seem to propagate the changes
> across all the OSDs. Does this command need to be repeated N times?
> (where N is our number of OSD)

You need to replace 0 with the OSD you want to 'tell' this to.

So you have to repeat this for each OSD.

Wido


> Thanks in advance!
> 
> On Wed, Sep 19, 2012 at 7:00 AM, Skowron Sławomir
> <slawomir.skowron@grupaonet.pl> wrote:
>> Ok, thanks, i try this on INT, but on production, i will stay with stable release, and wait for merge in next stable.
>> 
>> Regards
>> 
>> Slawomir Skowron
>> 
>> Dnia 18 wrz 2012 o godz. 23:18 "Sage Weil" <sage@inktank.com> napisał(a):
>> 
>>> On Fri, 14 Sep 2012, Sage Weil 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.
>>> 
>>> This is merged into master and will be in v0.53.
>>> 
>>> sage
>>> 
>>>> 
>>>> 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
>>>> 
>>>> 
--
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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-10-21 17:28                       ` Wido den Hollander
@ 2012-10-21 17:42                         ` Sébastien Han
  2012-10-21 18:51                           ` Yehuda Sadeh
  0 siblings, 1 reply; 20+ messages in thread
From: Sébastien Han @ 2012-10-21 17:42 UTC (permalink / raw)
  To: Wido den Hollander
  Cc: Skowron Sławomir, Sage Weil, Sławomir Skowron, ceph-devel

> You need to replace 0 with the OSD you want to 'tell' this to.
Yes I know...  Btw why should I want to tell something to a specific
OSD and not all of them? In this context, I want to apply the changes
on every OSDs.

> So you have to repeat this for each OSD.
That's what I was looking for :)

Dank u!

On Sun, Oct 21, 2012 at 7:28 PM, Wido den Hollander <wido@widodh.nl> wrote:
>
>
>
>
> Op 21 okt. 2012 om 19:14 heeft Sébastien Han <han.sebastien@gmail.com> het volgende geschreven:
>
>> "ceph osd tell 0 injectargs" doesn't seem to propagate the changes
>> across all the OSDs. Does this command need to be repeated N times?
>> (where N is our number of OSD)
>
> You need to replace 0 with the OSD you want to 'tell' this to.
>
> So you have to repeat this for each OSD.
>
> Wido
>
>
>> Thanks in advance!
>>
>> On Wed, Sep 19, 2012 at 7:00 AM, Skowron Sławomir
>> <slawomir.skowron@grupaonet.pl> wrote:
>>> Ok, thanks, i try this on INT, but on production, i will stay with stable release, and wait for merge in next stable.
>>>
>>> Regards
>>>
>>> Slawomir Skowron
>>>
>>> Dnia 18 wrz 2012 o godz. 23:18 "Sage Weil" <sage@inktank.com> napisał(a):
>>>
>>>> On Fri, 14 Sep 2012, Sage Weil 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.
>>>>
>>>> This is merged into master and will be in v0.53.
>>>>
>>>> sage
>>>>
>>>>>
>>>>> 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
>>>>>
>>>>>
--
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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-10-21 17:42                         ` Sébastien Han
@ 2012-10-21 18:51                           ` Yehuda Sadeh
  2012-10-21 19:33                             ` Sébastien Han
  0 siblings, 1 reply; 20+ messages in thread
From: Yehuda Sadeh @ 2012-10-21 18:51 UTC (permalink / raw)
  To: Sébastien Han
  Cc: Wido den Hollander, Skowron Sławomir, Sage Weil,
	Sławomir Skowron, ceph-devel

ceph osd tell \* injectargs ..

On Sun, Oct 21, 2012 at 10:42 AM, Sébastien Han <han.sebastien@gmail.com> wrote:
>
> > You need to replace 0 with the OSD you want to 'tell' this to.
> Yes I know...  Btw why should I want to tell something to a specific
> OSD and not all of them? In this context, I want to apply the changes
> on every OSDs.
>
> > So you have to repeat this for each OSD.
> That's what I was looking for :)
>
> Dank u!
>
> On Sun, Oct 21, 2012 at 7:28 PM, Wido den Hollander <wido@widodh.nl> wrote:
> >
> >
> >
> >
> > Op 21 okt. 2012 om 19:14 heeft Sébastien Han <han.sebastien@gmail.com> het volgende geschreven:
> >
> >> "ceph osd tell 0 injectargs" doesn't seem to propagate the changes
> >> across all the OSDs. Does this command need to be repeated N times?
> >> (where N is our number of OSD)
> >
> > You need to replace 0 with the OSD you want to 'tell' this to.
> >
> > So you have to repeat this for each OSD.
> >
> > Wido
> >
> >
> >> Thanks in advance!
> >>
> >> On Wed, Sep 19, 2012 at 7:00 AM, Skowron Sławomir
> >> <slawomir.skowron@grupaonet.pl> wrote:
> >>> Ok, thanks, i try this on INT, but on production, i will stay with stable release, and wait for merge in next stable.
> >>>
> >>> Regards
> >>>
> >>> Slawomir Skowron
> >>>
> >>> Dnia 18 wrz 2012 o godz. 23:18 "Sage Weil" <sage@inktank.com> napisał(a):
> >>>
> >>>> On Fri, 14 Sep 2012, Sage Weil 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.
> >>>>
> >>>> This is merged into master and will be in v0.53.
> >>>>
> >>>> sage
> >>>>
> >>>>>
> >>>>> 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
> >>>>>
> >>>>>
> --
> 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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Inject configuration change into cluster
  2012-10-21 18:51                           ` Yehuda Sadeh
@ 2012-10-21 19:33                             ` Sébastien Han
  0 siblings, 0 replies; 20+ messages in thread
From: Sébastien Han @ 2012-10-21 19:33 UTC (permalink / raw)
  To: Yehuda Sadeh
  Cc: Wido den Hollander, Skowron Sławomir, Sage Weil,
	Sławomir Skowron, ceph-devel

Thanks guys ;)


On Sun, Oct 21, 2012 at 8:51 PM, Yehuda Sadeh <yehuda@inktank.com> wrote:
> ceph osd tell \* injectargs ..
>
> On Sun, Oct 21, 2012 at 10:42 AM, Sébastien Han <han.sebastien@gmail.com> wrote:
>>
>> > You need to replace 0 with the OSD you want to 'tell' this to.
>> Yes I know...  Btw why should I want to tell something to a specific
>> OSD and not all of them? In this context, I want to apply the changes
>> on every OSDs.
>>
>> > So you have to repeat this for each OSD.
>> That's what I was looking for :)
>>
>> Dank u!
>>
>> On Sun, Oct 21, 2012 at 7:28 PM, Wido den Hollander <wido@widodh.nl> wrote:
>> >
>> >
>> >
>> >
>> > Op 21 okt. 2012 om 19:14 heeft Sébastien Han <han.sebastien@gmail.com> het volgende geschreven:
>> >
>> >> "ceph osd tell 0 injectargs" doesn't seem to propagate the changes
>> >> across all the OSDs. Does this command need to be repeated N times?
>> >> (where N is our number of OSD)
>> >
>> > You need to replace 0 with the OSD you want to 'tell' this to.
>> >
>> > So you have to repeat this for each OSD.
>> >
>> > Wido
>> >
>> >
>> >> Thanks in advance!
>> >>
>> >> On Wed, Sep 19, 2012 at 7:00 AM, Skowron Sławomir
>> >> <slawomir.skowron@grupaonet.pl> wrote:
>> >>> Ok, thanks, i try this on INT, but on production, i will stay with stable release, and wait for merge in next stable.
>> >>>
>> >>> Regards
>> >>>
>> >>> Slawomir Skowron
>> >>>
>> >>> Dnia 18 wrz 2012 o godz. 23:18 "Sage Weil" <sage@inktank.com> napisał(a):
>> >>>
>> >>>> On Fri, 14 Sep 2012, Sage Weil 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.
>> >>>>
>> >>>> This is merged into master and will be in v0.53.
>> >>>>
>> >>>> sage
>> >>>>
>> >>>>>
>> >>>>> 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
>> >>>>>
>> >>>>>
>> --
>> 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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-10-21 19:33 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.