MySQL Forums
Forum List  »  Replication

automatic failover with dual master replication
Posted by: Steve Nunes
Date: July 05, 2006 09:36AM

Hi,

I am interested in setting up a automatic failover configuration for tomcat - connectorJ - MySQL 5/InnoDB. Does anyone know of any problems with the following approach:

1) Configure 2 MySQL instances in a dual master config.

2) Specify the failover MYSQL instance using the failoverhost syntax...

jdbc:mysql://[host][,failoverhost...][:port]/[database][?propertyName1][=propertyValue1][&propertyName2][=propertyValue2]...

3) Set autoReconnect=true and failOverReadOnly=false

4) Use MySQL 5 auto_increment_offset to avoid auto-increment collision

Thanks,
Steve

Options: ReplyQuote


Subject
Views
Written By
Posted
automatic failover with dual master replication
6114
July 05, 2006 09:36AM


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.