pvesr sync, also synces config files? Where are they?

mailinglists

Renowned Member
Mar 14, 2012
641
70
93
Hi,

with pve-zsync I get config files in /var:
Code:
root@p27:/var/lib/pve-zsync/manual# ls
107.conf.qemu.rep_default_2018-11-20_16:11:08

When I create a pvesr sync job, do I also get the config files for VMs somewhere?
Or can I just access old config files on the new/working node via:
/etc/pve/nodes/primaryFailedNode/qemu-server/100.conf
even when primary node is dead?

I could use the config file in case the primary node fails and I want to restore VM by hand, maybe even to some other cluster or host.
 
Or can I just access old config files on the new/working node via:
/etc/pve/nodes/primaryFailedNode/qemu-server/100.conf
even when primary node is dead?

yes - everything in /etc/pve/ is synced in a (quorate) cluster. you should be sure that the 'primaryFailedNode' is really down before "stealing" the config file - each PVE node assumes that everything in /etc/pve/nodes/NODE is only touched by NODE, except for some HA operations under special locks.
 
  • Like
Reactions: mailinglists