PVE Storage Replication or PVE-zsync ?

ozgurerdogan

Renowned Member
May 2, 2010
622
6
83
Bursa, Turkey, Turkey
I need to sync two "running" kvms over two nodes in different datacenters for high avalibility not for load balancing. So if vm1 is not reachable second failover ip will reach vm2.
So which way should I go ? Currently I am using PVE-zsync for snapshot. But AFAIK, it can not be used for running vms? What do you suggest?
 
There is no PVE way to sync running VMs AFAIK. You can use replication with a 1min interval and in case the one node fails the VM will be spun up on the second node with a max data loss of 1min.

To not have any data loss you will have to use some shared storage, Ceph, NFS, Cifs/Samba, iSCSI.

The other option is to do the synchronization on the application level if that is possible.