TMAegis
yugabytedb のその他のルール

TMA-YUGABYTEDB-1.7

Ensure clocks are synchronized on all nodes

中レベル 2自動yugabytedb

説明

Enabling Network Time Protocol (NTP), or some equivalent way, to keep clocks on all nodes in sync is critical. The benchmark rates this recommendation Manual; the automated check covers its objective pass criterion. Uses timedatectl (systemd); passes when the clock is reported as NTP-synchronised by chronyd, ntpd or systemd-timesyncd.

チェック方法

監査方法: シェルコマンド

shell
out=$(timedatectl show -p NTPSynchronized --value 2>/dev/null) || exit 1; printf '%s\n' "$out"
期待される出力
yes

修正方法

修正方法: ガイダンスまたは IaC パッチ

Install and enable chrony (or ntpd) on every node in the cluster, pointing all nodes at the same time sources: systemctl enable --now chronyd.

プロパティ

オペレーティングシステム
すべて
タグ
yugabytedbtime
参照
CIS YugabyteDB Benchmark v2.0.0 - 1.7 Ensure clocks are synchronized on all nodes

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target yugabytedb --level 2