Hi Bryan,

Please define "out of whack."  Tell us exactly what you're doing when you 
restart, and what the replication state is before and after, and where the 
updates are coming from.

Regards,
Gavin Towey

-----Original Message-----
From: Cantwell, Bryan [mailto:bcantw...@firescope.com]
Sent: Thursday, July 30, 2009 11:00 AM
To: mysql@lists.mysql.com
Subject: Replication recovery on restart

I have 2 machines 'master' and 'slave'. I have the mysql 5.0.51a-log databases 
both replicating wonderfully. They are configured in a dual master scenario so 
that one can take over for the other in my HA environment I've built. All is 
working great until... If one or the other box reboots or the mysql restarts, 
the replication gets out of whack. Especially if I simulate both of them 
crashing in a worst case scenario, they are then both trying to sync from the 
wrong Master_log_file and Read_Master_Log_Pos...

Since catastrpohe WILL happen eventually (heence the need for HA) how do I 
direct the newly restarted boxes to the right position in the correct files on 
restart?

Thanks

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=gto...@ffn.com


The information contained in this transmission may contain privileged and 
confidential information. It is intended only for the use of the person(s) 
named above. If you are not the intended recipient, you are hereby notified 
that any review, dissemination, distribution or duplication of this 
communication is strictly prohibited. If you are not the intended recipient, 
please contact the sender by reply email and destroy all copies of the original 
message.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to