Ceph-Ansible 丢失了 group_vars,如何安全地重新控制我的集群?
我最近接管了一个通过 ceph-ansible 部署的小型 ceph 集群,但是我犯了一个错误,丢失了 ceph-ansible 存储库的所有 group_vars。
我尽力重新创建它们,但可能仍然存在丢失或错误的参数,特别是考虑到我最近才开始使用 ceph。
是否有一种安全的方法以自动方式从集群中读取所有这些参数?我尽力手动填写尽可能多的内容。
有没有办法确保 ceph 在应用配置时不会擦除我的所有池,在提交我所做的事情之前进行某种预运行。
预先感谢,
弗洛伦丁·拉贝尔
I have recently taken over a small ceph cluster deployed through ceph-ansible, however I made a mistake and lost all the group_vars of the ceph-ansible repository.
I tried my best to recreate them as well as I could, but there might still be missing or wrong parameters especially given that I've started with ceph very recently.
Is there a safe way to read all these parameters from the cluster, in an automated fashion ? I did my best to manually fill as many as I could.
And is there a way to ensure that ceph won't wipe all my pools when applying the configuration, some sort of dry run before commiting to what I've done.
Thanks in advance,
Florentin Labelle
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ceph-ansible 附带一个名为
take-over-existing-cluster.yml
的基础设施剧本。请参阅脚本以获取有关如何使用它的文档。由于这不会更改您的集群,因此您可以尝试并检查生成的配置。
ceph-ansible comes with an infrastructure-playbook called
take-over-existing-cluster.yml
. See the script for documentation on how to use it.Since this is not changing your cluster, you can try it and check the produced configuration.