VMware Cloud Community
PCWC
Contributor
Contributor
Jump to solution

How to force a VM use a specific host in a cluster?

I'm using vSphere 5.0U2 thru vSphere Web Client 5.5.

When I create a VM, I specify one of the host in a cluster as the Compute resource.  However, when I power on the VM, it is using another host.   How can I set the VM to only use a specific host in the cluster?

Reply
0 Kudos
1 Solution

Accepted Solutions
vmroyale
Immortal
Immortal
Jump to solution

Use the DRS -> Virtual Machine Options to disable the automation level for the VM. That will effectively anchor it to that host. You could also put the VM on local storage or attach it to a resource (DVD-ROM) on that host too, but the DRS route is the best way to go.

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com

View solution in original post

Reply
0 Kudos
2 Replies
vmroyale
Immortal
Immortal
Jump to solution

Use the DRS -> Virtual Machine Options to disable the automation level for the VM. That will effectively anchor it to that host. You could also put the VM on local storage or attach it to a resource (DVD-ROM) on that host too, but the DRS route is the best way to go.

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
Reply
0 Kudos
Virtualinfra
Commander
Commander
Jump to solution

You can also use DRS VM-Host affinity rule, refer below link.

VMware vSphere 5.1

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0