Forbid VM to be migrated (pin VM to host)

mbarchein

Renowned Member
May 26, 2015
14
2
68
Hello. Is there any configuration option to pin a VM to a specific host? In my case, there are 2 VMs that are tied to host resources (IP addresses and network interfaces) and I want to prevent them to be migrated to another host by accident. I saw the "protection" flag but I think that only prevents deleting the VM.

Thanks,
 
AFAIK VM with local host resources won't be able to migrate anyway.
You will get a prompt that you can't migrate VM's with local resources e.g a passthrough NIC.

1632394938158.png
 
Dont put VM in HA and VMs with local resources cant be migrated so you should be fine.