Skip to content

Avi GSLB with multi-tenancy in VCF 9.1: sites, leader placement, DNS delegation and tenant roles

A provider with tenants in two VMware Cloud Foundation 9.1 regions, or an enterprise with business units in two VCF instances, sooner or later gets asked for one name in front of an application that runs in both. For VCF Automation tenants that name comes from DNS-based global server load balancing (GSLB) in Avi, run by the provider. Our recommendation is one GSLB federation run as a provider service, with its leader in the instance whose Avi is upgraded last and an active site in every instance with tenant applications.

NSX Federation does not answer the request. It extends Layer 2 and Layer 3 topology between NSX instances only in the NSX segment model, and in the All Apps organization and VPC models tenant or VPC groups and policies stay local to one instance1. A load balancer cannot connect to a Global Manager Tier-1 gateway either2. The baseline here is VCF 9.1.1 with the October 12, 2026, patches, which do not include Avi3, and Avi 32.1.3, the version the 9.1.1 Avi features require4.

The VCF pages name GSLB without describing a build: the Avi for VCF overview5, the Load Balancer Models page, which credits Avi with traffic management across locations for disaster recovery under an additional entitlement6, the VKS consumption blueprint7 and the post-upgrade checks8. The procedures are in the generic Avi 32.1 GSLB Guide, which does not mention NSX clouds, VPC mode or VCF Automation.

Licensing and versions

Avi’s licensing guide includes GSLB in the subscription, with no separate add-on. Service Engines consume Service Units, by default one per vCPU. Per-app licensing, at 0.25 Service Units per vCPU, is not supported for DNS virtual services used for DNS or GSLB9, so the DNS Service Engine groups that answer GSLB queries in every instance count at the standard rate.

VCF 9.1 needs Avi 32.1.1 or later10. For Kubernetes workloads, the Avi for VCF page on VKS points multi-cluster GSLB to the Avi Multi-Cluster Kubernetes Operator (AMKO)11, whose AMKO 2.2 compatibility matrix lists Controller 32.1.1 to 32.1.3 for AMKO 2.2.1 and 2.2.212. Avi 32.1.4, released on October 13, 202613, moves site-to-site GSLB communication to JWT authentication14 and adds TLS modes for it: One-way TLS by default for new configurations, No Verify by default for existing federations, and no Mutual TLS. The certificates have to be present on all sites so that a leader change still validates15. No VCF 9.1 Avi page names 32.1.4 (see the WAF design article). Our recommendation is to keep the federation on 32.1.3 until the interoperability matrix or Broadcom confirms 32.1.4 for VCF 9.1.

One GSLB configuration per Controller cluster

An Avi GSLB site is a Controller cluster with its Service Engines, and a site can take part in exactly one GSLB configuration16. VCF 9.1 deploys Avi in a 1:1 relationship with NSX Manager17. VCF Automation assigns each Controller to regions by its NSX Manager5, and Supervisors on different NSX instances cannot share a region18. Each NSX instance served by Avi, with every region on it, is therefore one GSLB site, and every organization with Avi there shares that site’s single GSLB configuration and its leader. A tenant that needs a GSLB configuration of its own needs its own Controller cluster, which in VCF means its own NSX instance, the dedicated-instance model in the multi-tenancy article.

When the provider enables the Avi quota for an organization in a region, VCF Automation creates a corresponding tenant on that region’s Controller5, and Avi’s VPC mode maps the NSX Default Project to the admin tenant19. An organization in two regions on different NSX instances therefore has a tenant on two Controllers. The GSLB Guide requires a tenant to exist on all follower sites, active and passive, before federated objects are created for it on the leader, and missing tenants cause configuration sync failures16. KB 391295 adds that the tenant name has to match on leader and follower.

Leader, active followers and passive sites

The site where GSLB is first configured becomes the leader, and GSLB configuration changes are made only there. Active followers receive the configuration, monitor the other sites and host authoritative DNS for the global applications, so any of them can take over leadership. Passive followers only host virtual services: they have no GSLB DNS, do not receive the configuration and cannot become leader. Firewalls must allow Controller traffic in both directions between all active and passive sites16.

Losing the leader stops GSLB configuration changes but not name resolution. DNS keeps answering from the surviving active sites, and when only a site’s Controller fails, its Service Engines keep serving applications in headless mode20. Automatic leader change, available since 31.2.1, promotes a designated backup leader running the same version as the leader, and only with three or more active and enabled Avi sites21. With two regions, promotion is a manual step on the follower, after which configuration sync can be inconsistent, traffic can be disrupted while the new leader resynchronizes the old one, and DNS records can differ between the two. An old leader returning after a network partition has to be made a follower of the new one by hand, so the federation keeps one leader22.

Avi recommends the same version on all GSLB sites16. Mixed versions are supported for a time, but the leader must not run a later Avi version than any follower, so it is upgraded last, and new GSLB features stay off until every site has been upgraded23. KB 432557 describes a follower failing its second upgrade hop while the leader stayed older, and prescribes upgrading the leader to the follower’s version after each hop. In the VCF upgrade, Avi has to reach 32.1.x before NSX Manager and vCenter move to 9.110, so the order of instance upgrades follows the leader. Our recommendation is to put the leader in the instance whose Avi is upgraded last, to make every instance with tenant applications an active site with its own DNS virtual service, and to add a third active site only where automatic leader change justifies a further Controller cluster and DNS Service Engine group.

Avi GSLB leader-change conditionsAutomatic leader change requires three or more active and enabled Avi sites and a designated backup running the leader’s version. Otherwise automatic change is unavailable. With two regions after leader loss, GSLB configuration changes stop until an active follower is manually promoted. After promotion, configuration sync and DNS records can differ, and traffic may be disrupted during resynchronization. The leader must not run a later version than any follower and is upgraded last.A3+ active, enabled Avi sitesand a designated backup onthe leader’s version?NoAutomatic changeunavailableYesAutomatic leader changewith two regionsAfter leader loss1GSLB configurationchanges stopuntil promotion2Manually promoteactive follower3Possible sync andDNS recorddifferencesDuring resynchronization:possible traffic disruptionVersion constraintLeader version no later than any followerUpgrade leader last Avi GSLB leader-change conditionsAutomatic leader change requires three or more active and enabled Avi sites and a designated backup running the leader’s version. Otherwise automatic change is unavailable. With two regions after leader loss, GSLB configuration changes stop until an active follower is manually promoted. After promotion, configuration sync and DNS records can differ, and traffic may be disrupted during resynchronization. The leader must not run a later version than any follower and is upgraded last.A3+ active, enabled Avi sitesand a designated backup onthe leader’s version?YesNoAutomaticleader changeAutomatic changeunavailablewith two regionsAfter leader loss1GSLB configurationchanges stopuntil promotion2Manually promoteactive follower3Possible sync andDNS record differencesDuring resynchronization:possible traffic disruptionVersion constraintLeader version no laterthan any followerUpgrade leader last
Figure 1. Leader-change conditions, two-region promotion and leader version constraints for Avi GSLB.

DNS delegation and the DNS virtual service

The usual DNS model delegates a subdomain from the corporate name server to the Avi DNS service with NS records, and Avi answers authoritatively for it. The alternative makes Avi DNS the primary name server for a domain and passes queries it has no record for to the corporate DNS servers through a pool24. The GSLB subdomain is chosen before configuration, and GSLB service FQDNs are matched and placed against it25. A query then follows Figure 2: the corporate DNS forwards it to one of the Avi DNS instances, which picks a member by algorithm, health and client location and returns its VIP, and the client connects straight to that VIP, where the local Service Engines balance the request26.

DNS resolution followed by direct application trafficIn the delegated-subdomain model, the client queries corporate DNS for the application FQDN. Corporate DNS forwards the query to Avi DNS in an active site. Avi selects a member by algorithm, health and client location, and returns the selected member’s VIP through corporate DNS to the client. After receiving the VIP, the client connects directly to it on the local Service Engines, which balance the request to pool servers. Application traffic does not pass through DNS.1DNS lookupDelegated-subdomain modelClientresolves theapplication FQDNCorporate DNSGSLB subdomaindelegationAvi DNSActive siteSelects byalgorithm, health,client locationqueryqueryVIPVIP2Application connectionAfter receiving the VIPClientSelected member VIPLocal Service EnginesPoolserversdirectbalancesNo DNS in the application traffic path DNS resolution followed by direct application trafficIn the delegated-subdomain model, the client queries corporate DNS for the application FQDN. Corporate DNS forwards the query to Avi DNS in an active site. Avi selects a member by algorithm, health and client location, and returns the selected member’s VIP through corporate DNS to the client. After receiving the VIP, the client connects directly to it on the local Service Engines, which balance the request to pool servers. Application traffic does not pass through DNS.1DNS lookupDelegated-subdomain modelClientresolves theapplication FQDNqueryVIPCorporate DNSGSLB subdomaindelegationqueryVIPAvi DNSActive siteSelects byalgorithm, health,client location2Application connectionAfter receiving the VIPClientdirectSelected member VIPLocal Service EnginesbalancesPool serversNo DNS in theapplication traffic path
Figure 2. DNS selects a member VIP, and application traffic then reaches that VIP without passing through DNS.

Each active site that hosts DNS gets a DNS virtual service on its own Service Engine group, with the System-DNS application profile on port 53. TCP on port 53 is added only where DNS over TCP is needed, and the guide sets one virtual service per Service Engine in that group as recommended practice27. Avi recommends separate Service Engine groups for GSLB DNS and for application virtual services28, a DNS group that scales to two or more Service Engines, and DNS in more than one location29. A DNS virtual service scaled out to at least two Service Engines also avoids disruption during site upgrades23.

The system administrator can place the DNS virtual service in the admin tenant or in another tenant, but a non-admin tenant is possible only through the CLI with the virtual service’s UUID. The application administrators of each tenant then use the shared DNS service for their global applications30. Until Broadcom confirms where a DNS virtual service belongs in a VCF Automation cloud, our recommendation is the admin tenant, so the shared DNS sits in no organization’s tenant. Its VIP must also be reachable from the corporate name servers, and a VPC drops north-south traffic by default until an allow rule exists31.

Subdomains can be assigned selectively to DNS virtual services32. Our recommendation is a delegated subdomain per organization, so its names can be added, moved or withdrawn without touching another tenant’s. The cost is one more delegation per organization on the corporate DNS and a provider change on the leader, because subdomains are defined in the GSLB site configuration32, which only a System-Admin can write30. Each GSLB service carries a TTL between 1 and 86,400 seconds, 30 seconds from the DNS profile by default, and a down response for when its members are down. Avi recommends returning all records in that case33. When a site is disabled or deleted, its DNS virtual services have to be removed from the delegating DNS server34.

Health across regions

The control-plane monitor collects virtual service health from each site’s Controller and is always present. Data-plane monitors, when attached, send synthetic checks from the DNS Service Engines of every active site to every member. With both in place a member is up only when both report up, and when a remote site is unreachable the data-plane result alone determines whether the member is up. For data-plane checks to work, every active site must be able to probe the virtual services at every site28. A GSLB service takes at most six health monitors33.

In VCF the members are tenant VIPs in organization VPCs, which the DNS Service Engines of the other region then have to reach. Where that crossing is unwanted, the health monitor proxy lets a member be checked locally and its state read from the remote Controller, as long as the member runs on an active Avi site35. Limiting the monitor scope to non-Avi members would leave every tenant VIP to the control plane alone, with the upgrade risk below, and fewer active sites reduce health traffic between Controllers36. Where firewall rules cannot be changed, the guide points to health monitor sharding instead28. Status synchronized through the proxy can lag by up to the send interval34. Our recommendation is at least one data-plane monitor on every GSLB service anyway. Avi warns that services relying only on control-plane monitoring may see traffic disruption during Avi upgrades, and its pre-upgrade checks have flagged such services since 30.2.423.

Who configures what for a tenant

GSLB is configured only by accounts with write access to the GSLB configuration, predefined in the System-Admin role, and only within the admin tenant. A user with write access to GSLB services and read access to the configuration can define global applications in their own tenant, registered on the shared DNS service, and a tenant administrator sees analytics only for that tenant’s GSLB services. Tenant-Admin has read access to the GSLB configuration relevant to its tenant but write access to GSLB services in all tenants. Application-Admin reads the whole GSLB configuration and writes GSLB services in the tenants assigned to it. Custom roles are supported, and the guide recommends a dedicated account for GSLB configuration, with admin roles on all Controller clusters, for a better audit trail30. A GSLB-wide setting, tenant_scoped, limits pool member selection to virtual services of the current tenant37. The API reference gives it as on by default and fixed when the GSLB configuration is created38, though the guide also describes all virtual services as listed by default37. It filters choices and is not an isolation boundary.

The VCF Automation pages document no GSLB for organizations. Application users create Layer 4 and Layer 7 virtual services in their namespaces39, and the Creating Avi Custom Resources page lists health monitors, route backend extensions, PKI profiles and L4 rules40, with no GSLB or DNS object. Our recommendation is to run GSLB as a provider service, created by a System-Admin in the organization’s tenant on the leader, a tenant that VCF Automation creates only if the organization also holds Avi quota in the leader’s instance5. Generic Avi offers another path. Its NSX mapping turns a project administrator into a Tenant Admin19, the mapping is configured by hand31, and a custom role can grant GSLB service write and configuration read inside one tenant30. That needs Controller accounts on the leader outside VCF Automation, which no VCF 9.1 page describes (see the multi-tenancy article). Our recommendation on either path is to keep the predefined Tenant-Admin role from a tenant’s staff, because the guide lists it with write access to GSLB services in all tenants.

Provider (Avi System-Admin)
Organization in VCF Automation
Predefined Avi tenant roles
GSLB configuration and sites
Provider (Avi System-Admin): Writes it, on the leader, in the admin tenant only
Organization in VCF Automation: No GSLB object among its Avi custom resources
Predefined Avi tenant roles: Tenant-Admin reads the part relevant to its tenant, Application-Admin reads all
DNS virtual service
Provider (Avi System-Admin): Admin tenant, or another tenant only through the CLI by UUID
Organization in VCF Automation: None
Predefined Avi tenant roles: Application administrators use the shared DNS service
GSLB service for an organization
Provider (Avi System-Admin): Created in the organization’s tenant, with member selection limited to that tenant while tenant scope is on
Organization in VCF Automation: None, but it creates the L4 and L7 virtual services that a provider can add as members
Predefined Avi tenant roles: Tenant-Admin writes GSLB services in all tenants, Application-Admin in its assigned tenants
Avi tenant
Provider (Avi System-Admin): Default Project maps to the admin tenant, and each organization’s tenant must exist on all followers
Organization in VCF Automation: Created per region when the provider enables its Avi quota
Predefined Avi tenant roles: Tenant administrators see analytics only for their own tenant’s GSLB services
Generic Avi: custom roles can grant GSLB service write and GSLB configuration read inside one tenant, through Controller accounts outside VCF Automation
Figure 3. Who can configure each GSLB object for a VCF Automation organization.

Members, priorities and addresses

A GSLB pool member is a virtual service, an IP address or an FQDN. Pools have priorities, members inside a pool have weights, and a pool set to priority zero is left out of selection while it stays health-monitored41. Active-standby between two regions is the priority case: all traffic goes to the primary while it is healthy, and DNS sends everything to the other region when it fails42. Active-active spreads the answers by round robin, consistent hash, geolocation, topology or preference order43. Each GSLB service supports either model33.

A VPC administrator in Avi’s mapping can take a VIP from a private or a public subnet of the VPC19. The GSLB Guide does not discuss NSX VPC NAT. For VIPs that clients outside reach only through NAT, its NAT-aware GSLB sorts clients into private and public groups by source address and answers each group with the matching address of the member. Since 31.2.1 it also offers separate private and public pools, while a generic pool health-checks only the private address44.

Before the first organization goes global

Open questions remain. Is GSLB supported, or limited, on an NSX cloud in VPC mode, and in which VPC, subnet type or tenant does a provider’s DNS virtual service belong there? Do the tenants VCF Automation creates for one organization on different Controllers carry the same name, and how does an organization get a tenant on a site Controller where it holds no quota? How does Tenant-Admin’s write right over all tenants’ GSLB services square with per-tenant roles? Also undocumented: whether a GSLB member survives the Avi Kubernetes Operator recreating its virtual service, whether AMKO works with VCF Automation organizations, and whether provider DNS Service Engine groups count toward an organization’s Service Unit quota. Our recommendation is two gates: no tenant contract promises cross-region failover before Broadcom answers all of these, and no go-live before it answers the VPC mode and DNS placement questions and the checklist below is complete.

For the first global application:

  • VCF Automation provider administrator: Avi quota for the organization in the region of every GSLB site, active and passive, including the leader’s. Evidence: a tenant of the same name on every Controller, active and passive, and a test federated object that replicates516.
  • Avi provider administrator: the tenant scope value decided before the GSLB configuration is created, and each organization’s subdomain added to the site configuration. Evidence: the design record and the created configuration matching it3238.
  • Avi provider administrator: 32.1.3 on every site, with the leader on a version no later than any follower. Evidence: the version of each Controller cluster423.
  • Network and firewall owner: Controller traffic allowed both ways between all sites, every member probed from every active site or through a health monitor proxy, and a VPC rule that admits the corporate name servers to each DNS VIP. Evidence: the reviewed rules and member status Up from each active site16283135.
  • Avi provider administrator: a dedicated DNS Service Engine group per active instance that scales to two or more Service Engines, with the DNS virtual service in the admin tenant. Evidence: the group settings and the virtual service’s tenant23272930.
  • DNS administrator: the delegation of the organization’s subdomain to the DNS virtual services of all active sites prepared, and their removal in the decommissioning runbook. Evidence: a direct query to each DNS VIP returning a member VIP242534.
  • Avi provider administrator: a data-plane monitor whose scope includes Avi members, a chosen down response and a TTL on every GSLB service of the organization. Evidence: each service’s configuration listing the attached data-plane monitor and its scope233336.
  • Security owner: no tenant staff with the predefined Tenant-Admin role, and GSLB changes made from a dedicated account. Evidence: the role assignments exported from the leader and a test showing a tenant account cannot change another tenant’s GSLB service30.

Our recommendation is to hold the go-live while any item above lacks its evidence. The safe stopping point is everything built and monitored but the subdomain not yet delegated, so clients keep the per-region names. Go-live is adding the delegation, closed with the delegation records. A retry needs the failed item’s evidence shown again, and after a manual leader change, the new leader’s site list showing the old leader as a follower22.

Sources

Show all 44 sources
  1. Network Consumption Models
  2. Features and Configurations Supported in NSX Federation
  3. Patch Releases 9.1.1.x
  4. VMware Avi Load Balancer for VCF 9.1.1 Release Notes
  5. Getting Started with Avi Load Balancer
  6. Load Balancer Models
  7. VMware vSphere Kubernetes Service Consumption Blueprint
  8. Validating VCF Post Upgrade
  9. License Consumption and Capacity
  10. Upgrade Avi Load Balancer
  11. Avi Load Balancer for VKS Clusters
  12. Compatibility Matrix for AMKO
  13. Release Notes for Avi Load Balancer Version 32.1.4
  14. GSLB Site Configuration using Avi Load Balancer UI
  15. Designating the GSLB Leader and Adding Site Configuration
  16. GSLB Sites
  17. Avi Load Balancer Model
  18. Managing Regions in Your VCF Automation
  19. NSX VPC Mode Design Details
  20. Failure Scenarios and Resolutions
  21. Automatic GSLB Leader Change
  22. Manual GSLB Leader Change
  23. Upgrades in an Avi Load Balancer GSLB Environment
  24. Deployment Scenarios
  25. GSLB Subdomain
  26. GSLB Request Flow
  27. Configuring a Local DNS Virtual Service on All Active Sites that Host DNS
  28. GSLB Health Monitors
  29. High Availability Recommendations for GSLB
  30. User Roles and Accounts for GSLB
  31. Limitations
  32. Selective Assignment of a GSLB Service to DNS Virtual Services using UI
  33. GSLB Service
  34. Configuration Warning for GSLB
  35. Health Monitoring Proxy
  36. Health Monitoring for Third Party Sites
  37. Configuring Tenancy using Avi Load Balancer CLI
  38. Gslb (VMware Avi Load Balancer API)
  39. Managing Load Balancing for All Apps Organizations in VCF Automation
  40. Creating Avi Custom Resources
  41. GSLB Pool Members
  42. Introduction
  43. Load Balancing Algorithms for GSLB
  44. NAT-aware Public-Private GSLB Configuration