VMware vSphere Cluster Configuration: Ensuring VMs Run on Separate Hosts

Best Practices for Configuring VMware vSphere Cluster with Distributed Resource Scheduler (DRS)

Question

An administrator runs a two-node vSphere cluster, which contains two domain controller virtual machines (VMs)

The administrator wants to ensure that VMs run on separate hosts without interfering with normal maintenance operations.

How should the administrator configure Distributed Resource Scheduler (DRS)? (Choose the best answer.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-7297C302-378F-4AF2-9BD6-6EDB1E0A850A.html

The best answer to the question is option A: "Create a Must run Virtual Machines to Hosts anti-affinity rule."

Explanation: Distributed Resource Scheduler (DRS) is a feature in VMware vSphere that automatically balances resource utilization across a cluster of hosts. DRS can be configured with different rules to determine how virtual machines are distributed across the hosts in the cluster.

An anti-affinity rule is a type of rule that ensures virtual machines are kept apart or separated from each other. An anti-affinity rule can be set up to ensure that two virtual machines are never placed on the same host. Anti-affinity rules can be set up for virtual machines, virtual machine to host, or virtual machine to datastore.

In this scenario, the administrator wants to ensure that the two domain controller virtual machines are running on separate hosts to avoid any interference during normal maintenance operations. To achieve this, the administrator can create a "Must run Virtual Machines to Hosts" anti-affinity rule.

A "Must run Virtual Machines to Hosts" anti-affinity rule ensures that virtual machines are always placed on specific hosts. In this case, the rule would ensure that the two domain controller virtual machines are always running on separate hosts, even during maintenance operations.

Option B, "Create a Virtual Machines to Virtual Machines anti-affinity rule," is not the best answer because it does not ensure that the two domain controller virtual machines are running on separate hosts.

Option C, "Create a Virtual Machines to Virtual Machines dependency rule," is also not the best answer because it does not ensure that the two domain controller virtual machines are running on separate hosts.

Option D, "Create a Should run Virtual Machines to Hosts anti-affinity rule," is not the best answer because it does not ensure that the two domain controller virtual machines are running on separate hosts.