Restore VM Replication

sixmasrl

Member
Jul 22, 2022
11
0
6
forgive me, I have 2 nodes, master and slave, the master has a VM100 that replicates every hour on the slave.
But if the master breaks, how do I start a VM on the slave by placing the disk that is replicated in ZFS and therefore also present in the slave?
 
Please note: all Nodes are equal - there is no master/slave concept in PVE. ;-)

Actually I am not sure how to do that via the Gui, sorry.

On the CLI take a look into /etc/pve/nodes/. You can move (not: cp) the configuration file from one node to the other. Something like this mv /etc/pve/nodes/pve1/qemu/100.conf /etc/pve/nodes/pve2/qemu/. The result of this command is visible in the Web-Gui immediately after a few seconds.

(I have no shell in front of me, possibly the path is not completely correct - just look into /etc/pve/nodes/, you will recognize what I mean and you will find that "100.conf".)

Please note: there is no two-Node cluster! If you have one this won't work until you learn a workaround - discussed here in the forum a multitude of times...