From c49e43196075c7748bfc1d0bb04172dfeddf4d50 Mon Sep 17 00:00:00 2001 From: iProbe Date: Sun, 25 Jun 2023 21:48:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20'=E5=AD=98=E5=82=A8/ceph/p?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=AE=89=E8=A3=85/3-=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E9=85=8D=E7=BD=AE.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 存储/ceph/p版本安装/3-时间服务器配置.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 存储/ceph/p版本安装/3-时间服务器配置.md 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