TMAegis
cockroachdb 관련 규칙 더 보기

CockroachDB

TMA-COCKROACHDB-2.2

Ensure Each CockroachDB Node Runs as a Dedicated Process on a Separate Host

보통레벨 1자동cockroachdb

설명

For all self-hosted VM or bare-metal production deployments (on-premises or on cloud providers like AWS, GCP, Azure), each CockroachDB node must run as a single, dedicated cockroach start process on its own physical or virtual machine (VM). The benchmark rates this recommendation Manual; the automated check covers its objective pass criterion. Passes when exactly one cockroach start process runs on this host (FAIL when none runs). Also confirm the store directory is not shared with another node.

점검 방법

감사 방식: 셸 명령

shell
out=$(ps -eo args= | grep '[c]ockroach start') || exit 1; printf '%s\n' "$out" | awk 'END {print (NR == 1) ? "compliant" : NR " processes"}'
예상 출력
compliant

조치 방법

조치 방식: 가이드 또는 인프라 패치

Stop the extra cockroach start processes (systemctl stop ...), provision a dedicated VM/host with its own storage for each additional node and redeploy it there.

속성

운영 체제
모두
태그
cockroachdbarchitecture
참고 자료
CIS CockroachDB v25.x Benchmark v1.0.0 - 2.2 Ensure Each CockroachDB Node Runs as a Dedicated Process on a Separate Host

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target cockroachdb