添加 '存储/ceph/p版本安装/3-时间服务器配置.md'
This commit is contained in:
parent
0ee416513b
commit
c49e431960
1 changed files with 23 additions and 0 deletions
23
存储/ceph/p版本安装/3-时间服务器配置.md
Normal file
23
存储/ceph/p版本安装/3-时间服务器配置.md
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue