Re: In production - Change osd config

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

 



http://sudomakeinstall.com/uncategorized/ceph-make-configuration-changes-in-realtime-without-restart

Tyler Bishop 
Chief Technical Officer 
513-299-7108 x10 



Tyler.Bishop@xxxxxxxxxxxxxxxxx 


If you are not the intended recipient of this transmission you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

----- Original Message -----
From: "Francois Lafont" <flafdivers@xxxxxxx>
To: "ceph-users@xxxxxxxxxxxxxx" <Ceph-users@xxxxxxxxxxxxxx>
Sent: Saturday, January 2, 2016 11:08:31 PM
Subject: Re:  In production - Change osd config

Hi,

On 03/01/2016 02:16, Sam Huracan wrote:

> I try restart all osd but not efficient.
> Is there anyway to apply this change transparently to client?

You can use this command (it's an example):

    # In a cluster node where the admin account is available.
    ceph tell 'osd.*' injectargs '--osd_disk_threads 2'

After, you can check the config in a specific osd. For instance:

    ceph daemon osd.5 config show | grep 'osd_disk_threads'

But you must launch this command in the node which hosts the osd.5
daemon.

Furthermore, with "ceph tell osd.\* injectargs ..." it's possible
to set a parameter for all osds from a simple cluster node with just
one command, but I don't know if it's possible to just _get_ (not set)
the value of a parameter of all osds with just one command.
Does a such command exist?

Personally, I don't know a such command and currently, I have to
launch "ceph daemon osd.$id config show" for each osd which is
hosted by the current server where I'm connected and I have to
repeat the commands in the other cluster nodes.

Regards.

-- 
François Lafont
_______________________________________________
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