Anti-affinity rules do not persist across VMware Cloud Foundation instances during recovery using Site Recovery Manager. You must create the anti-affinity rules for the placeholder virtual machines in the recovery VMware Cloud Foundation instance so that the rules apply after a failover of the protected virtual machines.

You create separate anti-affinity rules to keep the virtual machines of VMware Aria Operations, VMware Aria Automation, and the clustered Workspace ONE Access on separate hosts.

For the following procedure, use the VMware Cloud Foundation Planning and Preparation Workbook.

Procedure

  1. Log in to the management domain vCenter Server at https://<recovery_vcenter_server_fqdn>/ui in the recovery VMware Cloud Foundation instance as [email protected].
  2. In the Hosts and clusters inventory, expand the management domain vCenter Server tree and expand the management domain data center.
  3. Select the default management cluster and click the Configure tab.

  4. In the left pane, navigate to Configuration > VM/Host rules and click Add.

  5. On the Create VM/Host rule dialog box, configure the settings, configure the remaining settings according to your VMware Cloud Foundation Planning and Preparation Workbook, and click OK.

    Setting

    Value

    Enable rule

    Selected

    Type

    Separate virtual machines