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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to