I have a master-master setup which I want to move to a new pair of servers (from linux to opensolaris). linux boxes names are shard1-1 and shard1-2, and osol boxes names are shard1-1-osol and shard1-2-osol.
this is what I did: 1. took down mysql server on both linux boxes, copied the data to the osol boxes. 2. edited master.info on each of the osol boxes, changed master from shard1-1 to shard1-1-osol and vice versa on both machines.
when I started mysql on the first osol machine, I see this in the error log: looks like mysql does not like the host name change, and it's bitching about it. the mysqld-relay-bin.000707 file exists in the datadir, so it's not clear what mysql is whining about.
090902 2:26:03 InnoDB: Started; log sequence number 246 3528553673
090902 2:26:03 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=shard1-1-osol-relay-bin' to avoid this problem.
090902 2:26:03 [ERROR] Failed to open the relay log './mysqld-relay-bin.000707' (relay_log_pos 19653396)
090902 2:26:03 [ERROR] Could not find target log during relay log initialization
090902 2:26:03 [ERROR] Failed to initialize the master info structure