添加 '存储/ceph/p版本安装/3-时间服务器配置.md'

This commit is contained in:
iProbe 2023-06-25 21:48:00 +08:00
parent 0ee416513b
commit c49e431960

View file

@ -0,0 +1,23 @@
配置时间同步服务以ceph01作为时间同步服务器
```shell
## 在ceph01上操作
# yum -y install chrony
# vi /etc/chrony.conf
pool ntp.aliyun.com iburst
...
...
allow 192.168.59.0/24
allow 10.168.59.0/24
local stratum 10
# systemctl start chronyd && systemctl enable chronyd
## 在ceph02-ceph05上操作
# yum -y install chrony
# vi /etc/chrony.conf
pool ceph01 iburst
...
# systemctl restart chronyd && systemctl enable chronyd;chronyc sources
MS Name/IP address         Stratum Poll Reach LastRx Last sample              
===============================================================================
^* ceph01                        3   6    17     8    -34us[  -28us] +/-   35ms