Configure Galera Cluster on Almalinux 9

Run the following command as root on all 3 nodes: dnf -y install mariadb-server-galera Configure the All Nodesvi /etc/my.cnf.d/galera.cnfChange the following line below wsrep_on=1 wsrep_cluster_name=”Galera_Cluster” wsrep_cluster_address=”gcomm://<All Nodes IP Address>” wsrep_node_address=”10.0.0.31″ <Current Node IP Address> Execute the following command on 1st Node:galera_new_clustersystemctl enable mariadbmysql_secure_installation Execute the following command on other nodes:systemctl enable –now mariadb Check the […]

Storware Cluster with 3 alma server and mariaDB replication

We have prepared 3 machines with almalinux 9 operating system in the same network:   We will use IP 10.5.24.200/24 for floating IP of our cluster. run as root update all machine add hosts add following command save and exit Cloud Image – Enable Password Login via SSH 1.Open file /etc/ssh/sshd_config.d/50-cloud-init.conf 2. Edit to like […]