cpeh.conf问题与cephadm部署

huangapple go评论70阅读模式
英文:

cpeh.conf problem deployment with cephadm

问题

我是新手在Ceph中,当我使用Cephadm部署集群并尝试更改位于/etc/ceph/ceph.conf中的ceph.conf配置时,我只有以下配置:

[global]
   fsid = d912s59a-27d7-1sd3-9764-43234f266ebd1
   mon_host = [v2:1.1.1.1:3300/0,v1:1.1.1.1:6789/0]

这是我用来部署集群的步骤:

https://satishdotpatel.github.io/deploy-ceph-storage-using-cephadm/

此外,我可以在仪表板中看到所有的配置,但我只能编辑其中一些。

我尝试更改部署,但遇到了相同的问题。

英文:

I'm new in ceph, when I deploy a cluster using Cephadm and try to change ceph.conf in /etc/ceph/ceph.conf I only have this configuration

[global]     
  fsid = d912s59a-27d7-1sd3-9764-43234f266ebd1   
  mon_host = [v2:1.1.1.1:3300/0,v1:1.1.1.1:6789/0] 

here are the steps I followed to deploy the cluster

https://satishdotpatel.github.io/deploy-ceph-storage-using-cephadm/

also, I can see all the configurations in the dashboard but I can only edit some of them

I tried to change the deployment and I had the same issue

答案1

得分: 1

自自2020年章鱼版本(首次引入cephadm)以来,ceph.conf文件已最小化,仅包含mon主机信息,以便守护程序知道如何联系它们。所有其他配置都在配置数据库中完成,例如:

ceph config get mgr mgr/cephadm/container_image_base
ceph config set mon auth_allow_insecure_global_id_reclaim false
ceph config-key get ...
ceph config-key set ...

因此,您在仪表板中看到的内容与配置数据库中的内容相同。这比CLI输出稍好,因为您还可以看到默认值,这样更容易恢复更改的配置。仪表板配置页面具有多个级别,"基本"、"高级"和"开发"位于配置概览页面的右侧。您应该能够在搜索字段中找到您要查找的内容,也许可以选择不同的级别。
有关ceph.conf管理的更多信息,请参阅文档

英文:

Since Octopus version (where cephadm was introduced first) the ceph.conf file has been minimized to only contain the mon hosts so the daemons know how to contact them. All the rest of the configuration is done in the config database, for example:

ceph config get mgr mgr/cephadm/container_image_base
ceph config set mon auth_allow_insecure_global_id_reclaim false
ceph config-key get ...
ceph config-key set ...

So what you see in the dashboard is what you have in the config database. Which is a little better than the CLI output because you see the default values as well which makes it easier to turn back changed configs. The dashboard config page has multiple levels, "basic", "advanced" and "dev" on the right-hand side of the config overview page. You should be able to find what you're looking for in the search field, and maybe choose a different level.
There's some more information in the docs regarding ceph.conf management.

huangapple
  • 本文由 发表于 2023年7月20日 19:06:09
  • 转载请务必保留本文链接:https://go.coder-hub.com/76729223.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定