hi Lysender,

You can use mysql database replication for this.
Use the concept of master slave relication
configure one of the server as master and the other as slave.
Data in master will be replicated to the slave.

2. configure a proxy to redirect requests to 2 webservers.

lemme know if you need any further help

Regards
Vinil