1#控制节点controller
yum install chrony -y
vi /etc/chrony.conf
server ntp3.aliyun.com iburst
allow 192.168.63.0/24
local stratum 10
systemctl enable chronyd.service
systemctl restart chronyd.service
#其它节点compute01
yum install chrony -y
vi /etc/chrony.conf
server controller iburst
systemctl enable chronyd.service
systemctl restart chronyd.service
controller
#在控制节点上执行这个命令:
chronyc sources