Add an affinity rule to place a specific group of virtual machines on a single host so you can audit the usage of those virtual machines.
- Click My Cloud.
- Click VMs in the left pane and click the Affinity Rules tab.
- In the Affinity Rules section, click the New Rule button.
- Type a Rule Name for the new affinity rule.
- (Optional) Type a virtual machine name or partial virtual machine name and click the blue arrow button to filter the Virtual Machines list.
- Select a virtual machine to add to the affinity rule and click Add.
Repeat this step to add additional virtual machines to the rule.
- (Optional) Deselect Enabled to create the rule without enabling it.
- Click OK to create the new rule.
vCloud Director places the virtual machines associated with the affinity rule on a single host.