码迷,mamicode.com
首页 > 其他好文 > 详细

openstack Rocky 社区版部署1.2 安装ntp service

时间:2020-02-02 17:37:28      阅读:80      评论:0      收藏:0      [点我收藏+]

标签:microsoft   add   ble   cbe   oar   image   work   ihe   min   

一、controller节点安装ntp
1 安装ntp服务
yum install chrony
2 Edit the chrony.conf file and add, change, or remove the following keys as necessary for your environment.
edit the /etc/chrony.conf, 服务选择阿里云的ntp服务器。
server ntp1.aliyun.com iburst
3 To enable other nodes to connect to the chrony daemon on the controller node, add this key to the same chrony.conf file mentioned above:
allow 10.160.20.0/24
4 Restart the NTP service:
# systemctl enable chronyd.service
# systemctl restart chronyd.service
二、其他节点安装ntp
1 安装ntp服务
yum install chrony
2 Configure the chrony.conf file and comment out or remove all but one server key. Change it to reference the controller node.
edit the /etc/chrony.conf file:
server controller1 iburst
3 Restart the NTP service.
# systemctl enable chronyd.service
# systemctl restart chronyd.service
三、Verify operation
1 Run this command on the controller node:
技术图片
2 Run the same command on all other nodes:
技术图片


openstack Rocky 社区版部署1.2 安装ntp service

标签:microsoft   add   ble   cbe   oar   image   work   ihe   min   

原文地址:https://www.cnblogs.com/cloud-datacenter/p/12252675.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!