Migrate VM from crashed node

Fred91

New Member
Aug 20, 2010
13
0
1
Hello,

I'm testing Proxmox with two nodes cluster using DRBS.

Everything is working fine and I'm now testing crash recovery.

I simply unplugged the slave node on which I had one VM running.

When I restart it, the VM is still there and run fine but what I can't do is to migrate this VM to the first node while my second node is down.

Is there any way to do that (in the case where the second node would definitly not come back to live ) ?

Thanks for your help.

Fred
 
HA is on the roadmap for 2.0.

In the meantine, you need to sync the config files manually (using rsync or something like that). Then you should be able to restart the VM by manually copy the config files in place.
 
hello,

Thank you for your reply.

In fact, I can't synchronize config file from my second node as it is powered down.
It's not a problem for me if VM are stopped when a node crashes but I don't know how I can migrate a VM from a dead node to a working node.

Fred
 
hello,

Thank you for your reply.

In fact, I can't synchronize config file from my second node as it is powered down.
It's not a problem for me if VM are stopped when a node crashes but I don't know how I can migrate a VM from a dead node to a working node.

Fred
Hi,
it's a good idea to sync (e.g. save) the config before the node go down.
You can use a cron-job to save the config-files one time a day - so you can copy the configfile to the right place if one node are down and simply power the vm up (if you have shared storage).

Udo
 

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!