3 Node Cluster
Overview
1. vPlus server installation
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 = 0vi /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 = 1dnf install -y vprotect-servervprotect-server-configure/opt/vprotect/scripts/ssl_port_forwarding_firewall-cmd.shfirewall-cmd --permanent --direct --add-rule ipv4 nat OUTPUT 0 -p tcp -o lo --dport 443 -j REDIRECT --to-ports 8181 firewall-cmd --complete-reloadfirewall-cmd --add-port=3306/tcp --permanent firewall-cmd --complete-reload
2. Configuration custom SSL certificate
3. vPlus node installation
4. Backup destination configuration
5. Cluster Configuration
5.1 Prepare operating system
5.2 Set MariaDB replication
5.2.1 Make same passwords for vprotect user in MariaDB
5.3 Configure pacemaker
5.3.1 Run on every node in cluster
5.3.2 Run only on first node of cluster
6. Register vPlus node on server (on all hosts)
7. Useful commands to control cluster:
Last updated