TMAegis
Thêm quy tắc cho cockroachdb

CockroachDB

TMA-COCKROACHDB-1.5

Ensure All Cluster Nodes Are Running the Exact Same Version, Including the Patch Release Number

Trung bìnhCấp 1Xem xét thủ côngcockroachdb

Mô tả

All CockroachDB nodes in a self-hosted cluster must run the same major, minor, and patch version of the CockroachDB binary. The docs explicitly recommend that "all cluster nodes are running exactly the same CockroachDB version, including the patch release version number," and call out version mismatch as an essential alert condition.

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.

Run cockroach node status --certs-dir=<certs> --host=<node> --format=table (or the DB Console Node List) and compare the build/version of every node. All nodes must report the identical version, including the patch number; persistent version skew is a finding.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

1. Identify out-of-date nodes: cockroach node status --certs-dir=/var/lib/cockroach/certs --host=<node> -- format=table Review build or version fields to locate mismatched nodes. 2. Download the latest consistent binary Please refer to Control 1.1 3. Perform a rolling restart (Upgrade one node at a time.): - Use cockroach node drain with --shutdown to gracefully drain and then terminate the node's process.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
cockroachdbpatching
Tham chiếu
CIS CockroachDB v25.x Benchmark v1.0.0 - 1.5 Ensure All Cluster Nodes Are Running the Exact Same Version, Including the Patch Release Number