We are two servers boxes (A,B) each have installed tomcat server and mysql data base.
Application deployed on tomcat server has logic built-in for redundancy&fail-over.
We want to build redundancy & fail-over for mysql db also as following:
All the data written to mysql in server A should be replicated db in server B in real-time.
In case db in server A fails, db in server B should be active and when Server A restarts
all new data written to server B is automatically replicated to server A db also.
similarly in case Server B fails, server A will become active etc..
Kindly let me know if you could help.
Application deployed on tomcat server has logic built-in for redundancy&fail-over.
We want to build redundancy & fail-over for mysql db also as following:
All the data written to mysql in server A should be replicated db in server B in real-time.
In case db in server A fails, db in server B should be active and when Server A restarts
all new data written to server B is automatically replicated to server A db also.
similarly in case Server B fails, server A will become active etc..
Kindly let me know if you could help.