Skip to content
Projets

À propos

Rasdaemon est un outil de journalisation RAS (fiabilité, disponibilité et facilité de maintenance) qui enregistre les erreurs mémoire à l’aide des événements de trace EDAC. EDAC est un sous-système du noyau Linux qui détecte les erreurs ECC dans les contrôleurs mémoire de la plupart des chipsets pour les architectures i386 et x86_64. Il existe également des pilotes EDAC pour d’autres architectures, comme ARM.

Systèmes et infrastructure

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

RAS Daemon

RAS Daemon (rasdaemon) monitors Linux kernel trace events related to Reliability, Availability, and Serviceability (RAS) errors.

Although it is a general-purpose tool, its primary goal is to improve the availability of systems used in data centers, including - but not limited to - high-performance computing (HPC), server farms, and cloud service environments.

It reports decoded events through syslog or journald, makes them available to consumer applications and supports recording them in SQL databases and reporting them through ABRT.

Its database support is provided through a modular framework that currently supports SQLite, MySQL, MariaDB, and PostgreSQL.

The primary source repository and issue tracker is currently at https://github.com/mchehab/rasdaemon/.

Its source code is mirrored at:

CI tests

RAS Daemon has two types of CI tests, automated via Github Actions:

  1. rasdaemon Actions, with tests several unit tests for both rasdaemon and ras-mc-ctl tools.

  2. rasdaemon-ci functional tests, which runs rasdaemon on a QEMU engine, using some mechanisms supported by QEMU to trigger events on it. The functional tests are handled in separate. CI tests usually runs on source code changes and are daily updated.

    Such tests are executed on two separate QEMU VMs. The status indicators below shows green if both VMs executed fine at the latest run:

    VM health

    Status

    Functional tests on x86_64

    func-x86-vm

    Functional tests on aarch64

    func-arm64-vm

    Fuzzy tests on x86_64

    weekly-x86-vm

    NOTE:

    Please note that functional tests create virtual machines configured to receive non-fatal errors and report them to rasdaemon. These tests use the latest stable versions of the Linux kernel and QEMU.

    By their nature, failures in these tests may be false positives, which are far more common than regressions in QEMU, the Linux kernel, or rasdaemon. Before reporting a regression, check the rasdaemon-ci logs. If the problem is in the toolset, open an issue against the affected tool rather than rasdaemon.

It follows the latest test results from both unit tests and end-to-end CI tests:

Component Test PASS FAIL
QEMU Functional qemu-ghes-pass qemu-ghes-fail
Linux Kernel Functional kernel-pass kernel-fail
Fuzzy weekly-kernel-pass weekly-kernel-fail
rasdaemon Features feature-pass feature-fail
Functional rasdaemon-pass rasdaemon-fail
Fuzzy weekly-rasdaemon-pass weekly-rasdaemon-fail
Unit tests unit-rasdaemon-pass unit-rasdaemon-fail
ras-mc-ctl Unit tests unit-ras-mc-ctl-pass unit-ras-mc-ctl-fail

Building

rasdaemon requires Meson 0.60 or newer, Ninja, a C compiler, libtraceevent, Python, and libpci. Database backends and unit tests have additional optional dependencies described in the building and installation guide.

Configure and build with:

$ make

Install from the configured build directory with:

$ sudo make install

Running

rasdaemon requires root permission to access Linux Kernel tracing nodes and other error events.

Run it in the foreground with --foreground or -f:

$ sudo rasdaemon -f

To record events on a database (by default SQLite3), add add --record or -r:

$ sudo rasdaemon -f -r

Checking errors

To see a summary of rasdaemon found errors (when --record is used):

$ sudo ras-mc-ctl db --errors

The backend defaults to SQLite. See the database guide for configuring SQLite, MySQL/MariaDB, or PostgreSQL. Use rasdaemon --help to list the options compiled into the installed binary.

Documentation

See https://mchehab.github.io/rasdaemon/

User's documentation

Developer's documentation

Security patches

Explorer des projets similaires

Chargement…