dbTalk Databases Forums  

master-master replication how to automatically exchange role?

comp.databases.mysql comp.databases.mysql


Discuss master-master replication how to automatically exchange role? in the comp.databases.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sissi
 
Posts: n/a

Default master-master replication how to automatically exchange role? - 10-08-2010 , 01:31 AM






i'm doing something research on master-master(standby) replication. so
far we use manually method to exchange the standby master as master
when occur some problems.

Do you have any idea to exchange roles automatically when occur
problems?

Reply With Quote
  #2  
Old   
Axel Schwenke
 
Posts: n/a

Default Re: master-master replication how to automatically exchange role? - 10-10-2010 , 09:30 AM






sissi <sissiyam (AT) gmail (DOT) com> wrote:
Quote:
i'm doing something research on master-master(standby) replication. so
far we use manually method to exchange the standby master as master
when occur some problems.
I suggest you stay with that.

Quote:
Do you have any idea to exchange roles automatically when occur
problems?
Heartbeat/Pacemaker comes to mind.

However: MySQL replication is asynchronous - so you have no guarantee
that your slave is up to date. Switching roles without additional
checks is probably a bad idea.


XL

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.