Which type of DRS rule should be implemented for VM23 and VM43?

A vSphere environment is created with two virtual machines, VM23 and VM43. Each virtual machine has an instance of the front-end web application for the company’s manufacturing management database. A physical load-balancer is configured for the application.

Which type of DRS rule should be implemented for VM23 and VM43?

A.
Separate Virtual Machines

B.
Virtual Machines to Hosts

C.
Host DRS Groups

D.
Keep Virtual Machines Together

5 Comments on “Which type of DRS rule should be implemented for VM23 and VM43?

  1. Raj says:

    VM-Host Affinity Rules

    A VM-Host affinity rule specifies whether or not the members of a selected virtual machine DRS group can run on the members of a specific host DRS group.
    Unlike a VM-VM affinity rule, which specifies affinity (or anti-affinity) between individual virtual machines, a VM-Host affinity rule specifies an affinity relationship between a group of virtual machines and a group of hosts. There are ‘required’ rules (designated by “must”) and ‘preferential’ rules (designated by “should”.)
    A VM-Host affinity rule includes the following components.

    One virtual machine DRS group.

    One host DRS group.

    A designation of whether the rule is a requirement (“must”) or a preference (“should”) and whether it is affinity (“run on”) or anti-affinity (“not run on”).
    Because VM-Host affinity rules are cluster-based, the virtual machines and hosts that are included in a rule must all reside in the same cluster. If a virtual machine is removed from the cluster, it loses its DRS group affiliation, even if it is later returned to the cluster.

  2. Raj says:

    Correct one is

    Create VM-VM Affinity Rules for MSCS Virtual Machines
    For MSCS virtual machines in a cluster, you must create VM-VM affinity or anti-affinity rules. VM-VM affinity rules specify which virtual machines should be kept together on the same host (for example, a cluster of MSCS virtual machines on one physical host). VM-VM anti-affinity rules specify which virtual machines should be kept apart on different physical hosts (for example, a cluster of MSCS virtual machines across physical hosts).
    For a cluster of virtual machines on one physical host, use affinity rules. For a cluster of virtual machines across physical hosts, use anti-affinity rules.
    Procedure
    1
    In the vSphere Client, right-click the cluster in the inventory and select Edit Settings.
    2
    In the left pane of the Cluster Settings dialog box under vSphere DRS, select Rules.
    3
    Click Add.
    4
    In the Rule dialog box, type a name for the rule.
    5
    From the Type drop-down menu, select a rule.

    For a cluster of virtual machines on one physical host, select Keep Virtual Machines Together.

    For a cluster of virtual machines across physical hosts, select Separate Virtual Machines.
    6
    Click Add.
    7
    Select the two virtual machines to which the rule applies and click OK.
    8
    Click OK.


Leave a Reply

Your email address will not be published. Required fields are marked *