This video is a step by step guide to configure master-master replication and automatic failover of MySQL on CentOS 8. I have used keepalived to configure the virtual IP addresses on both nodes. Haproxy is configured only for the monitoring database status.
This is part 3 of the 5. You can find other parts in the link below.
Part One: • MySQL Master Master Replication and Automa...
Part Two: • MySQL Master Master Replication and Automa...
Part Four: • MySQL Master Master Replication and Automa...
Part Five: • MySQL Master Master Replication and Automa...