KVM migration from broken node

harryhirsch

New Member
Oct 9, 2011
7
0
1
First, great work. Thanks a lot but have a Question.

I have a 2 Node Proxmox 2 Cluster with DRBD. When i shut down on Node of the Cluster how i can get my xxx.conf file to the surviving node.
Is there a way to start the vm on the surviving node?
 
OK i have read this, but don´t answers my question. I don´t use HA. In case of an Hardware failure im not able to bring node 2 online. In 1.9 i copy the xxx.conf file which i have saved befor to /etc/qemu-server and can start the vm normaly from web gui. This isn´t possible in 2.0 because you use fuse for /etc/pve read only mounted. But there must be a solution to do this manual or by web gui.

I´m realy like Proxmox 2 but this is a KO criteria.
 
all config files are on all nodes by default, so what is the question?

if you do not want the automatic way, do it manually (all files are on all nodes).
 
Yes. again, i have two nodes kvm1 and kvm2 with drbd. I have a vm on kvm1 maybe vmid 100 and a vm on kvm2 vmid 101. I pull the plug on kvm2. How can i start the vm 101 on kvm1
 
seems you do not understand it.

you should use HA in this case. but you do not want this, therefore you need to do it manually. all VM config files are on ALL nodes, see http://pve.proxmox.com/wiki/Proxmox_Cluster_file_system_(pmxcfs)

manually means you need to move the config files to the right location, just take a deeper look on /etc/pve/...
 
Yes. again, i have two nodes kvm1 and kvm2 with drbd. I have a vm on kvm1 maybe vmid 100 and a vm on kvm2 vmid 101. I pull the plug on kvm2. How can i start the vm 101 on kvm1

First, set expected votes to 1 to regain quorum

# pvecm expected 1

Then move the VM config

# mv /etc/pve/nodes/kvm2/qemu-server/100.conf /etc/pve/nodes/kvm1/qemu-server/

Then start the VM
 
Thank you very much. That was the solution.

Ok, i think this can be easyly integrated in the web gui. Currently i klick the vm on the broken node and say migrate i got the error the host did not respond. If this is the case you can just move the vmid.conf to the
selected host.

Maybe this have sideeffects, you may rethink that.
 
Last edited:

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!