Home > Networking Solutions > Converged and Hyperconverged Solutions > VxRail Networking Solutions > Guides > VMware Cloud Foundation on VxRail Multirack Deployment Using BGP EVPN - Part 2 of 2 > Create anti-affinity rules for NSX-T edge nodes
In this environment, the underlying VxRail hosts are spread out among numerous racks in the data center. In a simple example, all north-south peering can be established in a single rack, an edge rack. A VM-Host affinity rule is created to ensure that the ESG nodes are always running on VxRail nodes in that designated rack, for example, Rack 1.
Table 15, along with the following steps, is used to create two rules. The first rule designates the hosts that the edge nodes can use. The second rule designates the ESG nodes themselves.
Table 15. VM/Host groups
VM/Host group name |
Type |
Members |
NSX-T Edge Hosts |
Host Group |
sfo01w02vxrail01 and sfo01w02vxrail03 |
NSX-T Edge Nodes |
VM Group |
sfo01wesg01 and sfo01wesg02 |
Once the group rules are in place, create a VM/Host rule to bind the VM group Edge nodes to the Host group.