Questions about ZFS replication and HA

lumox

Well-Known Member
May 29, 2020
114
5
58
43
Hi everyone,

I have a small Proxmox VE 9 machine with a couple of VMs running on it. I am thinking about adding a new machine and setting up a cluster (yes, just two PCs) in order to practice and experiment with it.

I have started watching videos and reading articles about the topic, but I want to make sure I have a few steps right. For example, let's say I first set up ZFS replication for 'VM_Test' from NODE1 to NODE2 (with a replication job every 5 minutes), and then enable HA (High Availability) for both nodes.

In my understanding, if NODE1 goes down, NODE2 comes into play and runs VM_Test—but it would be a '5-minute younger' version of the VM (meaning it might not be completely up to date) compared to the one on NODE1, right?

But what exactly happens when NODE1 starts working again, say, after a few hours or even a few days? The VM_Test running on NODE2 would have new data by then. Would the VM_Test on NODE2 be copied back to NODE1 with all the updated data?

I hope I was clear. Thanks
 
Last edited: