ECS:xDoctor:RAP081:所有 NTP 伺服器都不適合同步處理

摘要: xDoctor 回報網路時間通訊協定 (NTP) 伺服器不適合進行同步,但在手動檢查時未發現任何問題。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

測試 NTP 伺服器時,如果能夠同步時間,則顯示伺服器已中斷。但是,再次運行該命令時,它顯示伺服器正在同步時間。

----------------------------------------------------------------------
WARNING - One or more NTP servers are NOT suitable for synchronization
----------------------------------------------------------------------
Node      = Nodes
Extra     = {"Nodes": ["169.254.1.1", "169.254.1.2", "169.254.1.3", "169.254.1.4"]}
Timestamp = 2025-11-21_151945
PSNT      = APM00xxxxxxxxx @ 4.8-106.1


1- 取得每個列出節點上的 NTP 伺服器清單:
命令:

# getrackinfo -r | grep NTP

範例:

admin@node1:~> getrackinfo -r | grep NTP
        NTPServer =  xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

 

2-測試它是否能夠同步時間。 

命令:

# sudo ntpdate -p 2 -d <NTP IP Address / NTP FQDN>
or
# sudo ntpdate -p 2 -d `getrackinfo -r | grep NTP |grep -oP "(?:[0-9]{1,3}\.){3}[0-9]{1,3}"`

範例:

admin@node1:~> sudo ntpdate -p 2 -d 123.x.xx.xx
10 Mar 11:06:15 ntpdate[69998]: ntpdate 4.2.8p15@1.3728-o Thu Jun 25 14:17:29 UTC 2020 (1)
Looking for host 123.x.xx.xx and service ntp
123.x.xx.xx reversed to <NTP hostname>
host found : <NTP hostname>
transmit(123.x.xx.xx)
transmit(123.x.xx.xx)
123.x.xx.xx: Server dropped: no data

10 Mar 11:06:19 ntpdate[69998]: no server suitable for synchronization found


等待幾秒鐘,然後再次運行相同的命令:

admin@node1:~> sudo ntpdate -p 2 -d 123.x.xx.xx
10 Mar 11:06:24 ntpdate[70526]: ntpdate 4.2.8p15@1.3728-o Thu Jun 25 14:17:29 UTC 2020 (1)
Looking for host 123.x.xx.xx and service ntp
123.x.xx.xx reversed to <NTP hostname>
host found : <NTP hostname>
transmit(123.x.xx.xx)
receive(123.x.xx.xx)
transmit(123.x.xx.xx)
receive(123.x.xx.xx)

server 123.x.xx.xx, port 123
stratum 1, precision -29, leap 00, trust 000
refid [NIST], root delay 0.000244, root dispersion 0.000488
reference time:      e7b58d80.00000000  Fri, Mar 10 2023 11:05:36.000
originate timestamp: e7b58db2.9661f6d5  Fri, Mar 10 2023 11:06:26.587
transmit timestamp:  e7b58db2.89fd47bf  Fri, Mar 10 2023 11:06:26.539
filter delay:  0.13205    0.13127    ----       ----
               ----       ----       ----       ----
filter offset: -0.004465  -0.004421  ----       ----
               ----       ----       ----       ----
delay 0.13127, dispersion 0.00002, offset -0.004421

10 Mar 11:06:26 ntpdate[70526]: adjust time server 123.x.xx.xx offset -0.004421 sec

原因

NTP 伺服器對 NTP 請求有速率限制。
當 xDoctor 嘗試同時同步所有節點,而 NTP 伺服器有速率限制時,它只會回應第一個節點。
xDoctor 發送所有請求,它們之間沒有延遲,因此它們會被伺服器阻止。

解析度

xDoctor 團隊已確認在未來的 xDoctor 版本中解決此問題。(目前版本:4.8-89.0
請求資訊: 減少ntpdate 命令以避免 NTP 速率限制,當 xDoctor 未執行檢查時,NTP 速率限制會導致偽陽性。

其他資訊

受影響的產品

ECS, ECS Appliance, ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption
文章屬性
文章編號: 000210976
文章類型: Solution
上次修改時間: 21 11月 2025
版本:  8
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。