我在5个节点上使用cephadm部署了ceph集群,我正在尝试使用以下命令更改bluestore_cache_size:
sudo ceph config-key set bluestore_cache_size 200221225472但在运行此命令时:
sudo ceph-conf --show-config |grep bluestore_cache将始终显示bluestore_cache_size =0。如何更改此配置?任何帮助都将不胜感激。
发布于 2021-12-04 15:01:28
试试这个:
ceph tell osd.* injectargs --bluestore_cache_size=200221225472您可能需要了解不同的配置
The following CLI commands are used to configure the cluster:
ceph config dump will dump the entire configuration database for the cluster.
ceph config get <who> will dump the configuration for a specific daemon or client (e.g., mds.a), as stored in the monitors’ configuration database.
ceph config set <who> <option> <value> will set a configuration option in the monitors’ configuration database.
ceph config show <who> will show the reported running configuration for a running daemon. These settings may differ from those stored by the monitors if there are also local configuration files in use or options have been overridden on the command line or at run time. The source of the option values is reported as part of the output.
ceph config assimilate-conf -i <input file> -o <output file> will ingest a configuration file from input file and move any valid options into the monitors’ configuration database. Any settings that are unrecognized, invalid, or cannot be controlled by the monitor will be returned in an abbreviated config file stored in output file. This command is useful for transitioning from legacy configuration files to centralized monitor-based configuration.来源:https://docs.ceph.com/en/latest/rados/configuration/ceph-conf/
https://stackoverflow.com/questions/70224605
复制相似问题