提示:如果本地配置文件存在需要加上--overwrite-conf选项强制将覆盖原有配置文件
再次将本地配置文件分发至集群各主机
[cephadm@ceph-admin ceph-cluster]$ ceph-deploy --overwrite-conf config push ceph-mon01 ceph-mon02 ceph-mon03 ceph-mgr01 ceph-mgr02[ceph_deploy.conf][DEBUG ] found configuration file at: /home/cephadm/.cephdeploy.conf[ceph_deploy.cli][INFO ] Invoked (2.0.1): /bin/ceph-deploy --overwrite-conf config push ceph-mon01 ceph-mon02 ceph-mon03 ceph-mgr01 ceph-mgr02[ceph_deploy.cli][INFO ] ceph-deploy options:[ceph_deploy.cli][INFO ] username : None[ceph_deploy.cli][INFO ] verbose : False[ceph_deploy.cli][INFO ] overwrite_conf : True[ceph_deploy.cli][INFO ] subcommand : push[ceph_deploy.cli][INFO ] quiet : False[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7fcf983488c0>[ceph_deploy.cli][INFO ] cluster : ceph[ceph_deploy.cli][INFO ] client : ['ceph-mon01', 'ceph-mon02', 'ceph-mon03', 'ceph-mgr01', 'ceph-mgr02'][ceph_deploy.cli][INFO ] func : <function config at 0x7fcf98577cf8>[ceph_deploy.cli][INFO ] ceph_conf : None[ceph_deploy.cli][INFO ] default_release : False[ceph_deploy.config][DEBUG ] Pushing config to ceph-mon01[ceph-mon01][DEBUG ] connection detected need for sudo[ceph-mon01][DEBUG ] connected to host: ceph-mon01[ceph-mon01][DEBUG ] detect platform information from remote host[ceph-mon01][DEBUG ] detect machine type[ceph-mon01][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf[ceph_deploy.config][DEBUG ] Pushing config to ceph-mon02[ceph-mon02][DEBUG ] connection detected need for sudo[ceph-mon02][DEBUG ] connected to host: ceph-mon02[ceph-mon02][DEBUG ] detect platform information from remote host[ceph-mon02][DEBUG ] detect machine type[ceph-mon02][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf[ceph_deploy.config][DEBUG ] Pushing config to ceph-mon03[ceph-mon03][DEBUG ] connection detected need for sudo[ceph-mon03][DEBUG ] connected to host: ceph-mon03[ceph-mon03][DEBUG ] detect platform information from remote host[ceph-mon03][DEBUG ] detect machine type[ceph-mon03][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf[ceph_deploy.config][DEBUG ] Pushing config to ceph-mgr01[ceph-mgr01][DEBUG ] connection detected need for sudo[ceph-mgr01][DEBUG ] connected to host: ceph-mgr01[ceph-mgr01][DEBUG ] detect platform information from remote host[ceph-mgr01][DEBUG ] detect machine type[ceph-mgr01][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf[ceph_deploy.config][DEBUG ] Pushing config to ceph-mgr02[ceph-mgr02][DEBUG ] connection detected need for sudo[ceph-mgr02][DEBUG ] connected to host: ceph-mgr02[ceph-mgr02][DEBUG ] detect platform information from remote host[ceph-mgr02][DEBUG ] detect machine type[ceph-mgr02][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf[cephadm@ceph-admin ceph-cluster]$
经验总结扩展阅读
- 苹果手机怎么删除系统软件
- win7升级到win10系统后,node13升级为node16,node版本node-sass版本与不匹配,导致出现npm ERR! ERESOLVE could not resolve
- day09-1存储引擎
- 手把手教你玩转 Gitea|在 Windows 系统上安装 Gitea
- 分布式存储系统之Ceph集群CephFS基础使用
- 日光性皮炎怎么办
- △fhm什么意思
- 海信电视系统如何还原
- 华为手机怎么切换小米操作系统
- qq戳一戳怎么设置