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

Posted cloud-datacenter

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openstack Rocky 社区版部署1.2 安装ntp service相关的知识,希望对你有一定的参考价值。

一、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的主要内容,如果未能解决你的问题,请参考以下文章

OpenStack-Rocky版单机部署

有关于OpenStack的Rocky版官方文档部署中的一些错误

openstack-r版(rocky)搭建基于centos7.4 的openstack swift对象存储服务 三

Openstack云计算 Openstack Rocky部署三: glance 部署与验证

Openstack云计算:openstack rocky部署三:nova 部署与验证(控制节)

openstack云计算:Openstack rocky 部署三 nova计算节点部署