Most of us are using VMware DRS and I think it is actually one of the coolest features. Why manually vMotion VMs between hosts, when you can use the Distributed Resource Scheduler and just let it migrate VMs automatically.
Some of you might think, what if I want to have particular VMs running group of hosts? Well, this is where VMware DRS Rules come into play. DRS Rules allow you to group your VMs and hosts, which are within the same vSphere HA cluster and specify which should or must run on what hosts.
When setting up DRS Rules, you have the following choices:
- Must run on hosts in group
- The VM Group must run on the hosts in this group. If the selected hosts are down, the VMs will be down and not be restarted on a different host.
- If you have applications with special license agreements, you might have to use this option.
- Should run on hosts in group
- The VM Group should run on the hosts in the group. However, in case of a vSphere HA event, this rule will be overwritten in order to keep the VMs running.
- Must Not run on hosts in group
- The VM Group will not run on the specific hosts group. Under no circumstances will the VMs be moved to the specified host group. The VMs will rather be down than moved to this host group.
- Should Not run on hosts in group
- The VM Group should not run on the hosts in the group. However, in case of a vSphere HA event, this rule will be overwritten in order to keep the VMs running.
If you are following my lead, go with “Should run on hosts in group” or “Should Not run on hosts in group” except if you cannot avoid it. If you do not have any special license agreements, which forbid you to migrate a certain application to different hosts, I do not see a good reason to use either of the other two rules available.
I would love to hear from you, why you are using “Must run on hosts in group” or “Must Not run on hosts in group” rather than the other two rules.