automatic failover with dual master replication
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
Subject
Views
Written By
Posted
automatic failover with dual master replication
6114
July 05, 2006 09:36AM
2646
November 15, 2006 11:26AM
1920
January 11, 2007 11:09AM
2014
August 12, 2007 10:17PM
1882
August 13, 2007 05:22AM
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.