Stretched Cluster Deployments of the Avi Controllers for the Avi Vantage Platform
Creating VM Groups for Avi Controllers in Region A
Avi Vantage allows you to create two VM/host groups for deploying Avi Controllers to support VCF stretched cluster deployment. In the case of a DR event, vSphere HA will migrate failed Avi Controller VMs from the failed metro region to the alive metro region. Avi control plane could go down momentarily if two or more Avi Controller VMs goes down. When the failed metro region comes back online, DRS should rebalance Avi Controller VM placement across the two metro regions.
Prerequisites
-
vCenter should be setup in the Management domain.
-
Cluster where Avi Controller VMs will be deployed are configured and stretched.
-
Avi Controller VMs are deployed and configured.
Procedure to Create VM/Host Group
The following are the step to create VM/Host Group:
-
Log in to the vCenter Server of the corresponding Workload Domain.
-
Navigate to vCenter > DataCenter > Cluster > Configure in the vCenter Cluster configuration page where the Avi Controller VMs are deployed.
-
Under the VM/Host Groups, click on + to add a new VM/Host group to host Avi Controller VMs. This VM group will host 3 Avi Controller VMs.
- Specify the following information in the Create VM/Host Group section:
Setting Value Name sfo-m01-avic01 Type VM Group -
Click + to add the 3 Avi Controller VMs (sfo-m01-avic01a, sfo-m01-avic01b and sfo-m01-avic01c).
-
Click on OK button.
- Click on OK button to save the configuration.
Creating Host Groups for ESXi Hosts in Region A
One host group each is created that contains ESXi hosts of each of the two metro regions in a stretched cluster deployment. This group will be used for Avi Controller VM availability.
Prerequisites
The following are the prerequisites to create host groups for ESXA Hosts in Region A:
-
vCenter should be setup in the Management domain.
-
Cluster where Avi Controller VMs will be deployed are configured.
-
Cluster is stretched between two metro regions.
Procedure to create host groups for ESXi Hosts
The following are the steps to create host groups for ESXi Hosts:
-
Log in to the vCenter Server of the corresponding Management Domain.
-
Navigate to vCenter > DataCenter > Cluster > Configure in the vCenter Cluster configuration page where the Avi Controller VMs are deployed.
-
Under the VM/Host Groups, click on + to add a new VM/Host group to host ESXi servers in metro region 1.
-
Specify the following information in the Create VM/Host Group section:
Setting Value Name sfo-m01-c01-metroregion01 Type Host Group -
Click + to add the ESXi servers in metro region 1.
-
Click on OK button.
-
Click on OK button to save the configuration.
-
Create another host group for metro region 2 with the following details in the Create VM Host Group section”
Setting Value Name sfo-m01-c01-metroregion02 Type Host Group
Creating VM/Host affinity rules for Avi Controllers in Region A
To ensure highest availability, the three Avi Controller VMs will be configured with affinity to ESXi servers in metro region 1. This can be changed in future to have affinity to ESXi servers in metro region 2 if desired.
Prerequisites
-
Three Avi Controllers are deployed.
-
Cluster where Avi Controller VMs will be deployed are stretched.
-
Two VM groups are created for the Avi Controller VMs.
-
Two host groups are created for the two metro regions.
Procedure to Create VM/host affinity rules for Avi Controllers
The following are the steps to create VM/host affinity rules for Avi Controllers:
-
Log in to the vCenter Server of the corresponding Workload Domain.
-
Navigate to vCenter > DataCenter > Cluster > Configure in the vCenter Cluster configuration page where the Avi Controller VMs are deployed.
-
Under the VM/Host Rules, click on + to add a new VM/Host group to create an affinity rule for Avi Controller VMs of the first VM Group to ESXi servers of the first metro region.
- Specify the following information in the Create VM/Host Rule section:
Setting Value Name sfo-m01-avic01 Type Virtual Machines to Hosts VM Group sfo-m01-avic01 Should run on hosts in group Host Group sfo-m01-c01-metroregion01 - Click on OK to save the configuration.