Project 3 - Web Application and Database Redundancy
Setup u1, u2, u3
Setup networking
sudo nano /etc/netplan/00-installer-config.yaml
Setup MariaDB with Galera Cluster
Edit the Galera Config
Resources:
https://www.server-world.info/en/note?os=Ubuntu_22.04&p=mariadb&f=1
https://www.linuxbabe.com/mariadb/galera-cluster-ubuntu
Update ha proxy to support db:
Now restart haproxy
Now check if I can connect the database
Make Database:
CREATE DATABASE futurama;
USE futurama;