ECS:xDoctor:RAP081: 所有 NTP 服务器都不适合同步

Summary: xDoctor 报告网络时间协议 (NTP) 服务器不适合同步,但在手动检查时未发现任何问题。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

当测试 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

Cause

NTP 服务器对 NTP 请求具有速率限制。
当 xDoctor 尝试同时同步所有节点,而 NTP 服务器具有速率限制时,它仅响应第一个节点。
xDoctor 发送所有请求,它们之间没有延迟,因此它们被服务器阻止。

Resolution

xDoctor 团队已确认在未来的 xDoctor 版本中解决此问题。(当前版本:4.8-89.0
请求信息: 减少ntpdate 命令以避免 NTP 速率限制,这会在 xDoctor 未运行检查时导致误报。

Additional Information

Affected Products

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
Article Properties
Article Number: 000210976
Article Type: Solution
Last Modified: 21 Nov 2025
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.