Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zstack + ceph 时钟同步问题 #1315

Open
xuanyuanaosheng opened this issue Aug 15, 2022 · 1 comment
Open

Zstack + ceph 时钟同步问题 #1315

xuanyuanaosheng opened this issue Aug 15, 2022 · 1 comment

Comments

@xuanyuanaosheng
Copy link

xuanyuanaosheng commented Aug 15, 2022

当前架构: zstack, 扁平网络 + Ceph的主存储
问题描述: 发现zstack在配置完毕,ceph的主存储后,会修改 ceph mon节点的时钟同步服务器为 /etc/chrony.conf

server 10.26.246.13 iburst

由于我司有自己的时钟同步服务器,请问,怎么修改 zstack 集群的时钟同步服务器为我司的IP地址?

@AlanJager
Copy link
Contributor

@xuanyuanaosheng 可以通过如下方法配置

  1. zstack-ctl status 找到 zstack.properties: 对应的配置文件路径信息,一般为: /usr/local/zstack/apache-tomcat/webapps/zstack/WEB-INF/classes/zstack.properties
  2. 修改 zstack.properties 文件,增加 chrony.serverIp.0 = 你的时钟同步服务器地址
  3. zstack-ctl restart_node 重启管理节点

待管理节点启动后,查看确认对应的配置更新即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants