MySQL Forums
Forum List  »  Replication

Re: dual master
Posted by: Partha Dutta
Date: September 26, 2005 10:16AM

Reza Gozashti wrote:
> Hi,
> I read in MySQL Enterprise Solutions book that
> dual master is not supported good by mysql
> (Enterprise Solutions written in 2003); now I want
> to know, is dual master production use?
>
> Thanks for your answer
>
>
>
> Edited 2 times. Last edit at 09/19/05 06:59AM by
> Reza Gozashti.


The dual master (or ring replication) works. I have implemented it successfully. The trick is to not spread your database writes across the 2 machines. Just direct "write" traffic to one machine or the other. You can set up a secondary IP address bound to a NIC (multihomed) and use something like heartbeat from the Linux-HA project to fail over the IP address in case of a failure to the slave server.

Partha Dutta
Senior Consultant, MySQL Inc.

http://www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
2115
September 15, 2005 04:43AM
Re: dual master
2142
September 26, 2005 10:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.