A vCLS VM anti-affinity policy describes a relationship between a category of VMs and vCLS system VMs.
A vCLS VM anti-affinity policy discourages placement of vCLS VMs and application VMs on the same host. This kind of policy can be useful when you do not want vCLS VMs and virtual machines running critical workload to run on the same host. Some best practices for running critical workloads such as SAP HANA require dedicated hosts. After the policy is created, the placement engine attempts to place vCLS VMs on the hosts where policy VMs are not running.
- If the policy applies to multiple VMs on different hosts and it is not possible to have enough hosts to distribute vCLS VMs, vCLS VMs are consolidated into the hosts without policy VMs.
- If a provisioning operation specifies a destination host, that specification is always honored even if it violates the policy. DRS will try to move the vCLS VMs to a compliant host in a subsequent remediation cycle.
- Create a category and tag for each group of VMs that you want to include in a vCLS VM anti-affinity policy.
- Tag the VMs that you want to include.
- Create a vCLS VM anti-affinity policy.
- From the vSphere, click .
- Click Add to open the New Compute Policy Wizard.
- Fill in the policy Name and choose vCLS VM anti affinity from the Policy type drop-down control.
The policy Name must be unique.
- Provide a Description of the policy, then use VM tag to choose the Category and Tag to which the policy applies.
Unless you have multiple VM tags associated with a category, the wizard fills in the VM tag after you select the tag Category.
- Click Create to create the policy.
- (Optional) To delete a compute policy, open vSphere, click to show each policy as a card. Click DELETE to delete a policy.