I'll be doing something new today (time is relative). I have a dedicated production server running on webmin (soon to be replaced by a producktionserver running virtualmin). I'm installing a dedicated server on a second location with virtualmin. Both systems are running CentOS 6.3 by the way.
Goal: make these 2 servers happy friends who love to exchange data.
Lets say Pegasus is the production server and hercules is the new server.
I want to set up a VPN that connects both servers. I need automated backups to go through the VPN to go from pegasus to hercules. Next to this I would love Pegasus to duplicate all MYSQL data to hercules. If not in real time, then perhaps in a bit less then real time. Whatever is possible and doesn't overload the servers too much. I also need access to virtualmin.
Other then that, all ports need to be closed.
Questions: - what vpn technology? - which software? (FreeS/WAN? where can I find it?) - how do I do the mysql duplication?
Thanks a bunch!