[PVE-User] Proxmox 2.0 vm migration from offline node

Dietmar Maurer dietmar at proxmox.com
Wed Feb 29 05:58:44 CET 2012


> 2012/2/28 Dietmar Maurer <dietmar at proxmox.com>:
> > You can only migrate if the node is online.
> 
> This is quite disappointing, since I am using a shared storage
> (GlusterFS): if a node crash, I would be able to float the VM configuration on
> another node and be able to restart them.
> 
> I've not tried yet, but I saw that under /etc/pve I can find the VM .conf, and
> maybe it will be sufficient to move around the configuration to the folder of
> another node to actually migrate the configuration and be able to restart the
> instance (without reconfiguring it).

There is no reason to be disappointed ;-) If you use shared storage, you can simply
move the configuration file like:

# mv /etc/pve/nodes/<oldnode>/qemu-server/<vmid>.conf /etc/pve/nodes/<newnode>/qemu-server

That is really simple. But please make sure that <oldnode> is really offline (else you have a serious problem
because 2 VM access the same shared storage location).

- Dietmar


More information about the pve-user mailing list