Remove vm from offline node

GeMaS

New Member
Apr 26, 2024
1
0
1
Hello.
I have a cluster of 3 nodes. All of them have local storage for disks and nfs for backups.
So I can't migrate to another node if a node is offline.
1 node went offline and want to restore a backup from nfs (from a vm that was running on the offline node) to another node.
This went ok.
The old node will come back eventually. (power issue).
So I want to delete the vm in the ui from the offline node, to prevent 2 vm's running with the same applications.
But when I want to delete this in the cluster, I receive the error "Connection error 595: No route to host".
How can I fix this or prevent the startup from that VM when the node will come back online.
 
Hi,

You can move the VM config from the offline node `mv /etc/pve/nodes/<OFFLINE NODE NAME>/qemu-server/<VMID>.conf /path/to/backup/config/file/<VMID>.conf`


Or you can only edit the VM config to not boot when the offline node back online.
 
Last edited:
  • Like
Reactions: GeMaS and gurubert