I am using a system with two machines running mysql in master/master replication.
I would like to move the systems to new machines who are also doing master/master replication. Is it possible to do that without removing one node from the old cluster and replacing it with a new node and creating a new replication from the first new node to the second?
Let's say we have two nodes node1 and node2 that are active and doing master/master, how do I "magically" move the cluster to new nodes called new1 and new2 without too much downtime.
You have M1 <=> M2; you want to end up with new hardware M3 <=> M4.
Note that the three disruptions are each equivalent to failing out of a dead Master.
A general recommendation when using Dual-Master: Write to only one of the two servers; use the other as backup plus read scaling.
Better yet, switch to a Galera Cluster (or InnoDB Cluster) so that you gain automatic failover, etc. This will allow future topology changes to be even less painful. Such migrations would be similar to what I just described.