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
조치 방법
조치 방식: 가이드 또는 인프라 패치
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