Re: what is the correct way to update ceph.conf on a running cluster

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

 



On Mon, Jul 24, 2017 at 10:33 AM, moftah moftah <mofta7y@xxxxxxxxx> wrote:
> Hi
>
> I am having hard time finding documentation on what is the correct way to
> upgrade ceph.conf in running cluster.
>
> The change i want to introduce is this
> osd crush update on start = false
>
> i tried to do it through the tell utility like this
> ceph tell osd.82 injectargs --no-osd-crush-update-on-start
>
> the answer was
> osd_crush_update_on_start = 'false' (unchangeable)
>
> Now it seems i need to reboot somthing to get this new config alive
> I find it strange that i have to reboot all OSDs processes int he system
> just to update the config
>
> is there a procedure for this
> and can i just reboot the mon process on the mon nodes ?

The "osd crush update on start" config option is only ever used when
the OSDs boot; you'll need to update it on the ceph.conf for every
OSD. There's no need to do anything like rebooting though because the
live value doesn't matter.

And as a note, the "unchangeable" warning on config is unfortunately
not entirely reliable. The reasons are somewhat baroque, but if you
see it that doesn't always mean the command is ineffective. :/
-Greg

>
> Thanks
>
> _______________________________________________
> 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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux