PrepAway - Latest Free Exam Questions & Answers

which is the resulting behavior with vSphere HA enabled?

A VM-Host affinity rule states that VM group “X” must run on hosts in group “Y”.
If all ESXi hosts in group “Y” fail, which is the resulting behavior with vSphere HA enabled?

PrepAway - Latest Free Exam Questions & Answers

A.
The virtual machines in group “X” will failover to hosts that do not belong to group “Y”, but will vMotion back
to hosts in group “Y” when they become available.

B.
The virtual machines in group “X” will not failover to hosts that do not belong to group “Y”.

C.
This scenario is not possible because vSphere HA and DRS cannot work together.

D.
The virtual machines in group “X” will only fail over to hosts that do not belong to group “Y” if they are
marked as “High” VM Restart Priority within vSphere HA.

6 Comments on “which is the resulting behavior with vSphere HA enabled?

  1. infojami says:

    Restart Priority can override the default cluster settings.

    Reference > https://docs.vmware.com/en/VMware-vSphere/6.0/com.vmware.vsphere.avail.doc/GUID-FA8B166D-A5F5-47D3-840E-68996507A95B.html

    After you create a vSphere HA cluster, you can override the default cluster settings for Restart Priority and Isolation Response for specific virtual machines. Such overrides are useful for virtual machines that are used for special tasks. For example, virtual machines that provide infrastructure services like DNS or DHCP might need to be powered on before other virtual machines in the cluster.




    0



    0
  2. David says:

    I actually had this one, fun scenario for troubleshooting. What happens is that the VMs remain turned off with the message “Waiting for available resources”. When you dig deeper, you’ll find a message stating that Affinity or Anti-Affinity rules are preventing the VMs from starting.

    It may be possible that these rules can be ignored if you turn off HA Admission Control, but I think not. But you can set the Affinity rule to PREFER a host group instead of MUST. Then they’ll boot on group X. But since the question states they MUST, that’s not applicable here.




    1



    0
    1. David says:

      In other words, it’s B. 🙂

      Restart Priority is an HA setting, Affinity is a DRS setting. If DRS says “No”, HA will always adhere to that. After all, DRS manages the available resources, HA just utilizes them.




      3



      0

Leave a Reply