Step 1: Install MariaDB Enterprise Server
This page is part of MariaDB's Documentation.
The parent of this page is: Deploy Primary/Replica Topology with Enterprise Server 10.4
Topics on this page:
Overview
This page details step 1 of the 7-step procedure "Deploy Primary/Replica Topology".
This step installs MariaDB Enterprise Server 10.4.
The Primary/Replica topology requires 3 or more MariaDB Enterprise Server nodes for High Availability (HA). 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:
Navigate to https://customers.mariadb.com/downloads/token/
Log in.
Copy the Customer Download Token.
Substitute your token for CUSTOMER_DOWNLOAD_TOKEN
when configuring the package repositories.
Set Up Repository
On each Enterprise Server node install the prerequisites for downloading the software from the Web.
Install on CentOS / RHEL (YUM):
$ sudo yum install curl
Install on Debian / Ubuntu (APT):
$ sudo apt install curl apt-transport-https
Install on SLES (ZYpp):
$ sudo zypper install curl
On each Enterprise Server node, configure package repositories and specify Enterprise Server 10.4:
$ curl -LsSO https://dlm.mariadb.com/enterprise-release-helpers/mariadb_es_repo_setup
$ echo "97e5ef25b4c4a4bd70b30da46b1eae0b57db2f755ef820a28d254e902ab5a879 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.4"
Install Enterprise Server
On each Enterprise Server 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