I will be setting up a VM that needs to talk to a serial device physically plugged into the ESX server. How do I go about making sure this VM never moves to another host through vmotion?
I think i found the setting but not sure if that's actually what it does. If I go to the cluster settings, then go to VMware DRS / Virtual MAchine Options and put "disabled" on the VM, is this how I do it?
I think i found the setting but not sure if that's actually what it does. If I go to the cluster settings, then go to VMware DRS / Virtual MAchine Options and put "disabled" on the VM, is this how I do it?
that will do it!
For DRS initiated migrations the answer is Yes. But people will still be able to manually vmotion it... there's no way to prevent this from happening as far as i know.
Duncan
VMware Communities User Moderator | VCP | VCDX
-
If you find this information useful, please award points for "correct" or "helpful".
Instead of using disabled, use the manual setting. Setting to disabled causes constant warning messages to be sent to the logs. While manual will serve a similar purpose, and not cause those warnings.
-KjB
VMware vExpert
Yes you are right, if you put "Disable" there it will stop VMotioning your VM by DRS, But it will not stop anyone from VMotioning it manually.
I know this is not your question but i am wondering that how about using "Serial-to-Ethernet converter" for your serial device, so that you can make your VM free to VMotion.
see this ... |http://www.tysso.org/serial-ethernet/]
You can trick the VM to mount to any .flp or .iso image on CD-ROM device so it will prevent it from VMotion.
If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!
Regards,
Stefan Nguyen
VMware vExpert 2009
iGeek Systems Inc.
VMware, Citrix, Microsoft Consultant
You could also put the VM on local storage, that would prevent it from moving anywhere without a specific action ( storage VMotion, or cold migration )
local storage will be risky if the host is dead or drive failures and if this is critical server, it would be great on high performance SAN. It defeats the purpose of having ESX/SAN environment. Mount a fake .iso image 1mb file using imgburn would do the trick.
If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!
Regards,
Stefan Nguyen
VMware vExpert 2009
iGeek Systems Inc.
VMware, Citrix, Microsoft Consultant