18.6 C
Sunday, November 28, 2021

How to set up Mariadb Galera cluster on Ubuntu or Debian Linux

Must read

{nixCraft Patreon supporters content}

MariaDB Galera Cluster

This guide explains how to set up MariaDB high-availability cluster for the database using the Galera library, which provides a virtual mater-to-master three-node cluster running on Debian or Ubuntu Linux.

Software and hardware requirements

  • Minimum three VMs running at cloud providers or bare metal servers. Always keep an ODD number of servers.
  • Ubuntu 20.04 or Debian 10/11 Linux LTS release. The instructions will not work on other operating systems such as FreeBSD or other Linux distros such as RHEL/SUSE due to different tools (e.g., firewall). However, one can always adopt it.
  • MariaDB server with Galera library on each VM. The cluster is made of two components (replication engine called Galera and database called MariaDB).
  • The MariaDB cluster is protected using password-based authentication, TLS, VLAN/VPC, and firewall for security and privacy. The cluster will not accept any traffic from the Internet or public interfaces at all.

This guide will cover the following topics:

The post How to set up Mariadb Galera cluster on Ubuntu or Debian Linux appeared first on Opensource Flare✨.

Source link

- Advertisement -

More articles


Please enter your comment!
Please enter your name here

- Advertisement -

Latest article