跳转到主内容

如何使用 NTP 更正 StorageGRID 节点之间的时间偏差

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

适用场景

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.
Scan to view the article on your device