For my setup, I chose to deploy the MariaDB Galera Cluster and RabbitMQ Cluster on dedicated VMs instead of running them within the Kubernetes cluster. A few key considerations drove this decision: I opted for MariaDB version 11.8 due to its support for Vector DB integration. Launch 3 Debian 12 VMs (8 vCPU, 32 G…
Tag: MariaDB
Highly available, Load balanced MariaDB cluster using Galera, HAProxy and Keepalived
Bring up 5 Vms and in each VM update /etc/hosts with following entries (to match requirements) 10.1.1.5 db1 10.1.1.6 db2 10.1.1.7 db3 10.1.1.10 haproxy1 10.1.1.11 haproxy2 Install mariadb in db1, db2 and db3. Install net-tools also, netstat would be handy for some checks. Stop mariadb service. apt install mariadb-server net-tools service mariadb stop Edit /etc/mysql/mariadb.conf.d/50-server.cnf…