Another efficient way to change the runtime configuration for the Ceph daemon without the overhead of logging in to that node is to use the ceph tell command.
Using the ceph tell command
How to do it...
The ceph tell command saves you the effort of logging into the node where the daemon is running. This command goes through the monitor node, so you can execute it from any node in the cluster:
- The syntax for the ceph tell command is as follows:
# ceph tell {daemon-type}.{id or *} injectargs
--{config_setting_name} {value}
- To change the osd_recovery_threads setting from osd.0, execute the following:
# ceph tell osd.0 injectargs '--osd_recovery_threads=2'
- To change the same setting for...