<quote who="Jorge Medina">
Also, e) How does the load balancer knows what mirror to use and when to switch to the other?
Responsiveness etc. When one dies a load balancer, depending how it is configured will move on to the next IP configured and move back if that one dies.
When the original MM node comes up it will catch up from the current active one via Syncrepl.