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...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!