跳转到主内容

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

Views:
24
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.