I'm setting up a master-master replication where in the second master is only read only there by reducing the issues of conflicts. My doubt is that to reduce the downtime when my master goes down I would be pointing my application to the second master (which is in read-only) and continue the work. Is it possible to have a DNS CNAME record pointing to one of your master. In case of failover, just update the DNS CNAME to other working master while you fix the broken one... once you fix and bring up the broken master, it will catch up with the transactions. If yes, how should I do it?
↧