Step 1: Install MariaDB Enterprise Server

Overview

This page details step 1 of the 6-step procedure "Deploy Galera Cluster Topology".

This step installs MariaDB Enterprise Server.

MariaDB Enterprise Server installations support MariaDB Enterprise Cluster, powered by Galera. MariaDB Enterprise Cluster 10.3 uses the Galera 3 wsrep provider plugin.

MariaDB Enterprise Cluster requires an odd number of 3 or more nodes. Nodes must meet requirements.

Interactive commands are detailed. Alternatively, the described operations can be performed using automation.

Retrieve Customer Download Token

MariaDB Corporation provides package repositories for CentOS / RHEL (YUM), Debian / Ubuntu (APT), and SLES (ZYpp). A download token is required to access the MariaDB Enterprise Repository.

Customer Download Tokens are customer-specific and are available through the MariaDB Customer Portal.

To retrieve the token for your account:

  1. Navigate to https://customers.mariadb.com/downloads/token/

  2. Log in.

  3. Copy the Customer Download Token.

Substitute your token for CUSTOMER_DOWNLOAD_TOKEN when configuring the package repositories.

Set Up Repository

  1. On each Enterprise Cluster node install the prerequisites for downloading the software from the Web.

    Install on CentOS / RHEL (YUM):

    $ sudo yum install wget
    

    Install on Debian / Ubuntu (APT):

    $ sudo apt install wget apt-transport-https
    

    Install on SLES (ZYpp):

    $ sudo zypper install wget
    
  2. On each Enterprise Cluster node, configure package repositories and specify Enterprise Server 10.3:

    $ wget https://dlm.mariadb.com/enterprise-release-helpers/mariadb_es_repo_setup
    
    $ echo "cfcd35671125d657a212d92b93be7b1f4ad2fda58dfa8b5ab4b601bf3afa4eae  mariadb_es_repo_setup" \
           | sha256sum -c -
    
    $ chmod +x mariadb_es_repo_setup
    
    $ sudo ./mariadb_es_repo_setup --token="CUSTOMER_DOWNLOAD_TOKEN" --apply \
          --skip-maxscale \
          --skip-tools \
          --mariadb-server-version="10.3"
    

Install Enterprise Server

On each Enterprise Cluster node, install MariaDB Enterprise Server and MariaDB Enterprise Backup.

Install via CentOS / RHEL (YUM):

$ sudo yum install MariaDB-server MariaDB-backup

Install via Debian / Ubuntu (APT):

$ sudo apt update
$ sudo apt install mariadb-server mariadb-backup

Install via SLES (ZYpp):

$ sudo zypper install MariaDB-server MariaDB-backup

Next Step

Navigation in the procedure "Deploy Galera Cluster Topology":

  • This page was step 1 of 6.