diff --git a/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/生产机 NTP 已改用 iKuai.md b/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/生产机 NTP 已改用 iKuai.md new file mode 100644 index 0000000..4143375 --- /dev/null +++ b/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/生产机 NTP 已改用 iKuai.md @@ -0,0 +1,26 @@ +--- +title: 生产机 NTP 已改用 iKuai +type: fact +permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/生产机-ntp-已改用-i-kuai +stable_id: f80074d4-f71b-479d-a7f0-ecaee1e5089d +scope: project +memory_type: fact +project_id: d5a7f581-c442-4554-87b9-ee723b8b0258 +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 2 +request_id: ntp-switch-ikuai-188-5-127-115-2026-11-05 +created_at: '2026-11-05T07:09:11.115506+00:00' +updated_at: '2026-11-05T07:13:23.261979+00:00' +tags: +- production +- ntp +- chrony +- ikuai +--- + +生产机 188.5.127.115(内网 192.127.115.101,SSH 端口 15122)的时间服务是 chronyd。2026-11-05 已改为只使用 iKuai 的 NTP:/etc/chrony.conf 中 `server 188.5.127.115 iburst`。旧的 0-3.centos.pool.ntp.org 已去掉,备份在服务器 /etc/chrony.conf.bak-20261105-ikuai。 + +iKuai(设备名 115iKuai,管理地址 188.5.127.115)在系统设置里开启了「网关作为 NTP 服务器」。iKuai 自己的时间是手动配置,时区北京时间。从服务器实测 UDP 123 可达,chrony 已选中该源,stratum 2,NTP synchronized 为 yes。校正前系统时间快约 27854 秒(约 7.7 小时),校正后与 iKuai 一致。 + +容器没有因这次改时重启(RestartCount 仍是 0)。时钟回拨后,Docker 里按错误旧时钟记下的启动时间会看起来像刚启动,那是显示问题。Metrix /api/health 为 ok,DecomEval 页面返回 200。 \ No newline at end of file diff --git a/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/生产机 NTP 指向 CentOS 池且未同步.md b/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/生产机 NTP 指向 CentOS 池且未同步.md deleted file mode 100644 index d936749..0000000 --- a/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/生产机 NTP 指向 CentOS 池且未同步.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: 生产机 NTP 指向 CentOS 池且未同步 -type: fact -permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/生产机-ntp-指向-cent-os-池且未同步 -stable_id: f80074d4-f71b-479d-a7f0-ecaee1e5089d -scope: project -memory_type: fact -project_id: d5a7f581-c442-4554-87b9-ee723b8b0258 -usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 -status: active -revision: 1 -request_id: ntp-config-188-5-127-115-2026-11-05 -created_at: '2026-11-05T07:09:11.115506+00:00' -updated_at: '2026-11-05T07:09:11.115506+00:00' -tags: -- production -- ntp -- chrony ---- - -生产机 188.5.127.115(SSH 端口 15122)的时间服务是 chronyd,处于 active。ntpd、ntpdate、systemd-timesyncd 都没在跑。 - -/etc/chrony.conf 配了四个源,都带 iburst:0.centos.pool.ntp.org、1.centos.pool.ntp.org、2.centos.pool.ntp.org、3.centos.pool.ntp.org。/etc/ntp/step-tickers 里还有 0.centos.pool.ntp.org,但 ntpd 未运行。makestep 是 1.0 3。 - -2026-11-05 核对:时区 Asia/Shanghai,NTP enabled 为 yes,NTP synchronized 为 no。chronyc sources 为 0,这四个名字在服务器上解析失败。系统时间大约快 8 小时;RTC 接近真实 UTC,RTC in local TZ 为 no。chronyd 自 2025-05-09 启动,次日日志有 Forward time jump detected。本次只查看,没有改时间或配置。 \ No newline at end of file