Dell Unity:无法与具有 6 或更高层值的 NTP 服务器同步
Summary: Unity 阵列无法与具有 6 或更高层值的 NTP 服务器同步。 Unisphere 中未显示任何错误,但 Unity 时钟未同步。
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 服务器可访问,但 Unity 无法与其同步,因为层值设置为 6。这可以从 命令的
svc_ntp -i 输出中确定;NTP 服务器行开头没有“*”符号。
06:40:01 service spb:~/user# svc_ntp -i NTP Status: remote refid st t when poll reach delay offset jitter ============================================================================== xxx.xxx.xxx.xxx LOCAL(0) 6 u 67 64 377 0.156 637.565 0.105 *peer 127.0.0.1 6 s 15 64 376 0.026 0.089 0.124 List of associations: ind assid status conf reach auth condition last_event cnt =========================================================== 1 45538 9024 yes yes none reject reachable 2 2 45539 961a yes yes none sys.peer sys_peer 1 List of servers in ntp.conf: server xxx.xxx.xxx.xxx iburst prefer Timestamps: hwclock:1667976004 systime:1667976004 uptime:434601.65 Detailed Timestamps: Wed Nov 9 06:40:05 UTC 2022 Wed Nov 9 06:40:06 2022 -0.953423 seconds 06:40am up 5 days 0:43, 6 users, load average: 112.37, 112.83, 113.09
Cause
在 中
/etc/ntp.conf,有以下行可防止 ntpd 与具有 6 或更高层值的 NTP 服务器同步。
tos orphan 6Resolution
- 使用配置了 5 个或更小的层值的 NTP 服务器。
等待 10 分钟左右,然后运行
svc_ntp -s 命令以验证 ntpd 是否与 NTP 服务器同步。输出的 NTP 条目左侧应有星号,并且层值 (st) 应为 5 或更小。
06:58:01 service spb:~/user# svc_ntp -i NTP Status: remote refid st t when poll reach delay offset jitter ============================================================================== * xxx.xxx.xxx.xxx LOCAL(0) 5 u 35 64 377 0.170 -0.123 0.041 peer 127.0.0.1 6 s 47 64 37 0.059 -637.13 0.102 List of associations: ind assid status conf reach auth condition last_event cnt =========================================================== 1 25293 961a yes yes none sys.peer sys_peer 1 2 25294 9014 yes yes none reject reachable 1 List of servers in ntp.conf: server xxx.xxx.xxx.xxx iburst prefer Timestamps: hwclock:1667977331 systime:1667977331 uptime:435927.21 Detailed Timestamps: Wed Nov 9 07:02:12 UTC 2022 Wed Nov 9 07:02:13 2022 -0.953428 seconds 07:02am up 5 days 1:05, 7 users, load average: 112.32, 112.49, 112.74
- 请联系戴尔技术支持或您的许可服务提供商编辑
/etc/ntp.conf文件并更改以下行中的值,以支持大于默认值 5 的层值,因为此方法需要 root 访问权限。
tos orphan 6
支持的最大值为 15。
例子:
# cp /etc/ntp.conf /cores/service/user/ntp.conf.bak # sed -i -e 's/tos orphan 6/tos orphan 7/g' /etc/ntp.conf # diff /etc/ntp.conf /cores/service/user/ntp.conf.bak 86c86 < tos orphan 7 --- > tos orphan 6
然后,运行以下命令:
svc_ntp -s
注意:中的
tos orphan 值可能会在 /etc/ntp.conf Unity OE 升级后恢复为原始值。
注意:如果时间差过大,可能需要重新启动存储处理器 (SP) 才能使更改生效。
Affected Products
Dell EMC UnityArticle Properties
Article Number: 000205159
Article Type: Solution
Last Modified: 09 Jun 2023
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.