I like DRS to NOT place the VMs on different hosts when powering on. I like DRS to power the VM on and then migrate it if necessary. Is this possible and how?
I like DRS to NOT place the VMs on different hosts when powering on. I like DRS to power the VM on and then migrate it if necessary.
But why would you want this ability when it creates additional work and more network overhead? What's the use case behind this?
Not possible. you can get either of those.
Why would you want DRS to power on and then migrate? what if current host doesn't have enough resource?
I make some settings directly at the .vmx-file. When powering on the VM on the same host while changing the vmx all is fine. But when the VM get migrated to another host and then powered on, the setting in the vmx are ignored. When the vm is powered on on the same host and then get migrated all is fine. thats the background of my question.
Can you elaborate what settings in VMX you are changing?
Hi,
DRS affinity and anti-affinity rules in VMware vSphere – 4sysops
https://www.guruadvisor.net/it/vmware/75-creare-gruppi-drs-regole-vmware-vsphere
Alessandro Romeo
Hello There,
DRS is designed to do the same way, it will auto balance your cluster and keep vmotion VMs w.r.t to the migration Threshold. Make sure to check Migration Threshold is not aggressive.
If you want to keep the VM in same host and don't want it to migrate, simply use Affinity Rules for it, so that particular VM will stick to that particular host.
I enable a experimental feature to allow nested virtualization and vGPU at the same time.
You can set DRS automation level per VM.
Cluster -> Configure -> VM Overrides
There you can set the DRS automation level to be manual or disabled. But this affects more than DRS initial placement.