================================================================
=============================
8 Mar 2024 · 17:30 ~ 17:50
MariaDB master-replica for ERPNext failover : deep dive
================================================================
Raino
Software Engineer
Tridots Tech Pvt. Ltd.
Abstract
This presentation will delve deep into the master-slave replication, benefits, covering key concepts, configuration options and implementation in Frappe Instances and exploring the possibilities of automating through scripts.
Topics
- Introduction to MariaDB Master-Slave Replication
- Understanding Replication and Benefits.
- Different types of replication available in MariaDB.
- Configuration
- Setting up Master and Slave Servers
- Setting up remote DB Connection in ERPNext App Instance (siteconfig)
- Configuring the appropriate conf files and restoring database
- On Failure of the Master DB, Failover of Slave to Become the New Master
- Point the ERPNext to the New Master (siteconfig)
Handling All these with a custom bash script, allowing us to setup these on one click.
Targeted Audience
- Frappe Developers who are into implementing High Availability
- Who have interest in exploring the possibilities of MariaDB Replication and implementing High Availability in Frappe Applications
================================================================
=============================
================================================================