diff --git a/存储/ceph/p版本安装/3-时间服务器配置.md b/存储/ceph/p版本安装/3-时间服务器配置.md new file mode 100644 index 0000000..f823707 --- /dev/null +++ b/存储/ceph/p版本安装/3-时间服务器配置.md @@ -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