PmaControl logo PmaControl
  • Strona główna
  • Strona główna
    • PmaControl PmaControl
    • PmaControl PmaControl
    • PmaControl PmaControl
    • PmaControl PmaControl
    • Agenci AI Agenci AI
    Klienci
    • MariaDB 30 artykułów
    • MySQL 10 artykułów
    • Galera Cluster 6 artykułów
    • MaxScale 3 artykuły
    • ProxySQL 2 artykuły
    • Amazon Aurora MySQL 0 artykuły
    • Azure Database 0 artykuły
    • ClickHouse 0 artykuły
    • GCP CloudSQL 0 artykuły
    • Percona Server 0 artykuły
    • SingleStore 0 artykuły
    • TiDB 0 artykuły
    • Vitess 0 artykuły
    Bazy danych
    • Rozwiązania Rozwiązania
    • Observabilité SQL Rozwiązania
    • Haute disponibilité Rozwiązania
    • Disaster Recovery Rozwiązania
    • Sécurité & conformité Wsparcie 24×7
    • Migration & upgrade Wsparcie 24×7
  • PmaControl
  • Cennik
    • PmaControl Zasoby
    • Agenci AI Zasoby
    • Zasoby Zasoby
    • Zasoby Zasoby
    • Dokumentacja Dokumentacja
    Blog
    • Observabilité SQL Obszary ekspertyzy
    • Haute disponibilité Rozwiązania
    • Sécurité & conformité Obszary ekspertyzy
    • Disaster Recovery Rozwiązania
    • Performance & optimisation Obserwowalność SQL
    • Migration & upgrade Obserwowalność SQL
    Wydajność i optymalizacja
    • Szybkie linki Szybkie linki
    • Szybkie linki Szybkie linki
    • Rozwiązania Rozwiązania
    • Szybkie linki Szybkie linki
  • Rozwiązania
  • Szybkie linki
Szybkie linki
🇫🇷 FR Français 🇬🇧 EN English 🇵🇱 PL Polski 🇷🇺 RU Русский 🇨🇳 ZH 中文
PmaControl › Galera Cluster

Galera Cluster

Quorum calculation — Nodes available

PmaControl computes the actually usable nodes in the Galera quorum:

Nodes available (X) =
  mysql_available = 1
  AND wsrep_cluster_status = Primary
  AND (
    wsrep_local_state_comment = Synced
    OR (Donor/Desync/Unsync AND wsrep_desync = OFF)
  )

This rule excludes nodes:

  • Non-Primary — Node outside the quorum
  • Disconnected — Node disconnected from the cluster
  • Inconsistent — Inconsistent data
  • Donor with wsrep_desync=ON — Intentionally desynchronized

The denominator Y (total) is always the total number of detected nodes, even if some are offline.

wsrep segments

Galera segments (gmcast.segment) are displayed as subgraphs in Dot3:

  • SEGMENT_OK — All nodes in the segment are Synced
  • SEGMENT_KO — No node in the segment is available
  • SEGMENT_PARTIAL — Only some nodes are available

IST / SST flow

PmaControl detects state transfers between nodes:

  • IST (Incremental State Transfer) — Incremental transfer via gcache
  • SST (State Snapshot Transfer) — Full transfer (mariabackup, rsync, mysqldump)

Dot3 displays a hint link donor→joiner when an SST/IST is in progress.

garb arbitrator

PmaControl detects the Galera arbitrator (garbd) via wsrep_incoming_addresses. The arbitrator appears in Dot3 as a virtual node — it participates in quorum voting without storing data.

wsrep-notify

The wsrep-notify.sh script (in documentation/wsrep-notify/) can be configured on each Galera node to log state changes in /var/log/galera.log.

# Dans my.cnf
[mysqld]
wsrep_notify_cmd = /usr/local/bin/wsrep-notify.sh
On this page
  • Quorum calculation — Nodes available
  • wsrep segments
  • IST / SST flow
  • garb arbitrator
  • wsrep-notify
← Previous page Next page →
PmaControl
+33 6 63 28 27 47 contact@pmacontrol.com
Platforma eksploatacji SQL GitHub Platforma eksploatacji SQL
Platforma eksploatacji SQL © 2014-2026 PmaControl — 68Koncept