VMware vSphere

 View Only
  • 1.  Assign a VM to a particular Host

    Posted Sep 25, 2009 02:30 PM

    Is there a way to assign certain VMs to always run on a particular ESX host even with DRS turned on?

    Thanks



  • 2.  RE: Assign a VM to a particular Host

    Posted Sep 25, 2009 02:34 PM

    Right click on Cluster -> Edit Settings -> Virtual Machine Options -> select the VM you don't want DRS to move and from the drop down menu select Manual or Disabled.

    Check the manual for the difference between Manual and Disabled.



  • 3.  RE: Assign a VM to a particular Host

    Posted Sep 25, 2009 02:47 PM

    thanks for the info. I thought that may be the setting i needed.

    Another catch is that i dont want certain VMs to start on this box either and its in a Cluster with several other Hosts....is there a way to tell other VMs to NOT power on that particular HOST when powering on using DRS.



  • 4.  RE: Assign a VM to a particular Host

    Posted Sep 25, 2009 03:07 PM

    Why do you want to do this? It is almost as if you don't want this particular host to be in the cluster.

    Off hand I don't think there is a setting that does what you desire. Though I am interested in hearing your use case for one.



  • 5.  RE: Assign a VM to a particular Host

    Posted Sep 25, 2009 07:26 PM

    Why do you want to do this? It is almost as if you don't want this particular host to be in the cluster.

    Off hand I don't think there is a setting that does what you desire. Though I am interested in hearing your use case for one.That's kinda what it sounds like he wants to do. If you're trying to keep a host from being used so you have a free host to migrate to in the event of a host failing, you can change your HA options and specify a failover host. This will leave that host with no VMs on it and ready to kick in in the event of a host failure.



  • 6.  RE: Assign a VM to a particular Host

    Posted Sep 25, 2009 07:31 PM

    Create network portgroup named "For VM1, 2 and 3 only" on ESXes you want particular VM run on, and connect these VMs to this portgroup.

    So VMs can not migrate to servers with no such portgroup.


    ---

    VMware vExpert '2009

    http://blog.vadmin.ru



  • 7.  RE: Assign a VM to a particular Host

    Posted Sep 25, 2009 08:03 PM

    The other option I just thought of is to set CPU anti affinity for the particular VMs. That should work for what you want.