How to Manage Replication Failover Processes for MySQL, MariaDB and PostgreSQL
severalnines.com