TMAegis
Weitere Regeln für yugabytedb

TMA-YUGABYTEDB-1.7

Ensure clocks are synchronized on all nodes

MittelStufe 2Automatisiertyugabytedb

Beschreibung

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.

So wird geprüft

Prüfmethode: Shell-Befehl

shell
out=$(timedatectl show -p NTPSynchronized --value 2>/dev/null) || exit 1; printf '%s\n' "$out"
Erwartete Ausgabe
yes

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

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

Eigenschaften

Betriebssysteme
Beliebig
Tags
yugabytedbtime
Referenz
CIS YugabyteDB Benchmark v2.0.0 - 1.7 Ensure clocks are synchronized on all nodes

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target yugabytedb --level 2