This is a read-only copy of the MariaDB Knowledgebase generated on 2025-05-01. For the latest, interactive version please visit https://mariadb.com/kb/.

Galera Monitor

Designing for MaxScale's Galera Monitor

MaxScale's Galera Monitor (galeramon) monitors Galera Cluster deployments.

This page contains topics that need to be considered when designing applications that use the Galera Monitor.

Additional information is available here.

Understanding MaxScale's Galera Monitor

MaxScale's Galera Monitor (galeramon) monitors Galera Cluster deployments.

What Does the Galera Monitor Support?

The Galera Monitor (galeramon) supports:

  • Connection-based load balancing with the Read Connection Router (readconnroute)

Deploying Galera Monitor

  • Deploy MaxScale with Galera Monitor and Read/Write Split Router
  • Deploy MaxScale with Galera Monitor and Read Connection Router

Using SST Donors for Queries with MaxScale's Galera Monitor

MaxScale's Galera Monitor (galeramon) monitors Galera Cluster.

By default, when a node is chosen as a donor for a State Snapshot Transfer (SST), Galera Monitor does not route any queries to it. However, some SST methods are non-blocking on the donor, so this default behavior is not always desired.

Non-Blocking SST Methods

A cluster's SST method is defined by the wsrep_sst_method system variable. When this system variable is set to mariabackup, the cluster uses MariaDB Backup to perform the SST. MariaDB Backup is a non-blocking backup method, so Galera Cluster allows the node to execute queries while acting as the SST donor.

Configuring Availability of SST Donors

1. Configure the availability of SST donors by configuring the available_when_donor parameter for the Galera Monitor in maxscale.cnf.

For example:

[galera-cluster]
type                     = monitor
module                   = galeramon
...
available_when_donor     = true

2. Restart the MaxScale instance.

$ sudo systemctl restart maxscale
  • No items found.
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.