ZFS replication without cluster

cyruspy

Renowned Member
Jul 2, 2013
119
9
83
Hello!,

I have two nodes running PVE7, and would like to replicate some VMs between them. I don't see how to add a second node without creating a cluster, is that possible?. I would like to have them as independent nodes, and expect to start the failed VMs manually when needed.

Regards.
 
in that case, you have to use pve-zsync

see 'man pve-zsync' on how to use it
 
Is my understanding of the ZFS replication use case correct?, or is it expected to create a cluster & set vote to 1 in this scenario (no shared storage, just replication with manual takeover)?

Is VM configuration expected to be copied by hand?
 
Last edited:
if you have a cluster, you can use the built-in replication, but have to consider all requirements of a cluster (i.e. if you have <= 50% nodes online, you do not have quorum etc.)
in that case the config is distributed to all nodes

pve-zsync does not need a cluster to replicate but is not as tightly integrated into pve (e.g. no control via the web ui). it also syncs the vm config