We have prepared 3 machines with RedHat 8 operating system in the same network:
10.1.1.2 vprotect1.local
10.1.1.3 vprotect2.local
10.1.1.4 vprotect3.local
We will use IP 10.1.1.5/23 for floating IP of our cluster.
1. vPlus server installation
Run that steps on all machines under pacemaker cluster:
Add vPlus repository
vi/etc/yum.repos.d/vProtect.repo
# vPlus - Enterprise backup solution for virtual environments repository
[vprotect]
name = vProtect
baseurl = https://f002.backblazeb2.com/file/DPX-vPlus/current/el8
gpgcheck = 0
Add MariaDB repository
vi/etc/yum.repos.d/MariaDB.repo
# MariaDB 10.10 RedHatEnterpriseLinux repository list - created 2023-08-23 08:49 UTC
# https://mariadb.org/download/
[mariadb]
name = MariaDB
# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# baseurl = https://rpm.mariadb.org/10.10/rhel/$releasever/$basearch
baseurl = https://mirror.creoline.net/mariadb/yum/10.10/rhel/$releasever/$basearch
# gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgkey = https://mirror.creoline.net/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1
CREATE USER replicator@'10.1.1.%' IDENTIFIED BY 'vPr0tect';
GRANT SELECT,REPLICATION SLAVE,REPLICATION CLIENT ON *.* to replicator@'10.1.1.%' IDENTIFIED BY 'vPr0tect';