pve-zsync real time??

fusion

Member
Nov 4, 2015
36
0
6
Spain
Hello, I have 2 servers with Proxmox 4 and zfs. I plan to use PVE-zsync, anyone know if you can configure to replicate in real time? Someone has tested? such work?

or other solution would you recommend?


Thank you


Cheers
 
What do you mean by "replicate in real time"? Do you mean that both servers would would be completely in sync at all times (i.e., that server B would have a "live" copy of what's on server A)? If so, then no, ZFS replication can't do that. The default configuration for pve-zsync syncs every 15 minutes, I believe. I'll leave to others to say what (if anything) would be a better solution.
 
If server (A) falls. To restore a backup server (B), but of course without loss of information, according to type of application is much difference 15m.
 
zfs send/receive is not real time, you just sync. a snapshot here.

if you need replicated/distributed storage, check DRBD9, Ceph, GlusterFS or Sheepdog. For bigger clusters, I can recommend Ceph.