跳转到主内容

如何使用 NTP 纠正 StorageGRID 节点之间的时间漂移

Views:
46
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

适用于

NetApp StorageGRID

问题

StorageGRID 由一组分布式服务组成,主要运行在单独的硬件上。这种分布式特性需要底层硬件的精确和紧密的时间同步 - 如果服务器上的时钟偏离太多,StorageGRID 将切断与外围节点的通信。这可能导致 NTP 服务处于错误状态,节点在 NMS 中报告为蓝色。

时间同步对于 StorageGRID 功能非常重要,因此 NTP 服务是所有其他网格服务的依赖项 - 如果 NTP 未成功启动,servermanager 将不会使任何其他服务联机。实际上,这在维护程序中得到了利用 - 可以通过创建一个 0 字节文件来防止 StorageGRID 软件的自动启动:/etc/sv/ntp/DoNotStart

安装 StorageGRID 的最佳实践是以分层方式配置 NTP - 控制节点配置为与外部时间源进行时间同步。它们也被配置为同步对等体(即,控制节点彼此同步以及与外部源同步)。StorageGRID 内的所有其他节点使用控制节点作为其时间源。

如果有足够的控制节点偏离外部时间源,整个网格可能会开始偏离外部时间源。

来自配置源的剧烈时间漂移被称为"飞轮",可以影响单个节点或整个网格。

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.