[SOLVED] Restart non-HA VMs

TwiX

Renowned Member
Feb 3, 2015
320
23
83
Hello,

I just want to know, on my pve 5 cluster, if is it possible to manually restart a non-ha vm (in case of failure node) ?

Thanks in advanced,

Antoine
 
Hi,

you mean on an other node?
If so yes you can, but you have to copy the vm.config manually to the other node.
 
Thanks, sounds good.

This conf file is still readable when a node fail ?
What happen when the node come back online ?

Antoine
 
Thanks, sounds good.

This conf file is still readable when a node fail ?
What happen when the node come back online ?

Antoine

you have access of config of all vms, in all nodes, in /etc/pve/nodes/nodex/qemu-server/

simply do a move of the config like:

- node2 crashed.
on node 1
mv /etc/pve/nodes/node2/qemu-server/* /etc/pve/nodes/node1/qemu-server/

when node2 will restart, I'll sync /etc/pve with the current cluster config. (so vm will not be restarted on node2).