Hi,
I've been able to work out a system in which a master proxmox server has a number of containers, which are duplicated in size, distribution, and memory on a cluster slave. Then I created some scripts that rsync the entire container over to the remote server, overwriting the corresponding container with all relevant data (in this case a web server's IP schemes, mysql tables, httpd confs, the whole shebang). I can stop the running virtual machine, start the remote version of that machine, and have a replicated copy running after a disaster event at any given time. The part that really excited me was the ability to sync the entire file structure with locks, dynamic mysql data, and configurations. Each time I changed a server, the changes got pushed over every five minutes by a cron. Althought it requires manual intervention to stop/start the virtual machines in a disaster event it was neat to see a backup copy of my web server up and running within four seconds of the other being stopped. The best part about this setup is that the remote container doesn't have to be turned on to be updated, unlike most replication technology that requires the operating system be turned on. There is more than likely a much better way to do this, but it was simple, took no time at all to setup, and gave me some peace of mind. Any thoughts?
I've been able to work out a system in which a master proxmox server has a number of containers, which are duplicated in size, distribution, and memory on a cluster slave. Then I created some scripts that rsync the entire container over to the remote server, overwriting the corresponding container with all relevant data (in this case a web server's IP schemes, mysql tables, httpd confs, the whole shebang). I can stop the running virtual machine, start the remote version of that machine, and have a replicated copy running after a disaster event at any given time. The part that really excited me was the ability to sync the entire file structure with locks, dynamic mysql data, and configurations. Each time I changed a server, the changes got pushed over every five minutes by a cron. Althought it requires manual intervention to stop/start the virtual machines in a disaster event it was neat to see a backup copy of my web server up and running within four seconds of the other being stopped. The best part about this setup is that the remote container doesn't have to be turned on to be updated, unlike most replication technology that requires the operating system be turned on. There is more than likely a much better way to do this, but it was simple, took no time at all to setup, and gave me some peace of mind. Any thoughts?