Manage VM-VM and host affinity rules

VM-VM and host affinity rules define the relationships among VMs and the relationships between VMs and hosts.

VM-VM affinity rules include the following types:

UIS Manager supports configuration of the association action in VM-VM affinity rules. The action can be one of the following:

Host affinity rules include the following types:

A VM-VM affinity rule for gathering VMs is applicable to service systems that have frequent data exchange and require VMs to run on the same host.

A VM-VM affinity rule for distributing VMs is applicable to environments that consume a large number of host resources, such as CPUs and memory. Distributing VMs to different hosts can ensure load balancing in clusters.

Restrictions and guidelines

Add a VM-VM or host affinity rule

  1. On the top navigation bar, click Hosts, and then select Cluster Management > Affinity Rules > VM-VM/Host Rules.

  1. Click Add.

  1. Configure the rule parameters as described in "Parameters."

  1. Click OK.

Edit a VM-VM or host affinity rule

  1. On the top navigation bar, click Hosts, and then select Cluster Management > Affinity Rules > VM-VM/Host Rules.

  1. Click the Edit icon  for a rule.

  1. Edit the rule parameters as described in "Parameters."

  1. Click OK.

Delete VM-VM or host affinity rules

  1. On the top navigation bar, click Hosts, and then select Cluster Management > Affinity Rules > VM-VM/Host Rules.

  1. Click the Delete icon  for a rule.

  1. In the dialog box that opens, click OK.

Parameters

You must set the following parameters if the rule type is Gather VMs or Distribute VMs.

You must set the following parameters if the rule type is Assign VMs to Hosts.