https://www.arborisoft.com/how-to-configure-mysql-masterslave-replication-with-mha-automatic-failover/