This section covers the configuration steps for configuring tenancy using NSX Advanced Load Balancer CLI.
When configuring a GSLB pool member, the virtual service selection lists the service based on the tenants in the GSLB Config. By default, the system displays all the virtual services in the drop down menu while configuring the GSLB pool member in the GSLB service. You can change tenant_scope to see only tenant-scoped virtual services. So, if a GSLB admin now has access to tenant A, the GSLB admin will see the virtual services present in tenant A only, at the time of configuring GSLB pool members.
The tenant_scope is the GSLB-specific configuration parameter to restrict virtual service selection to the current tenant, when set to True
or allow virtual service selection from all accessible tenants, when set to False
.
By default, the variable tenant_scoped is set to True
.
Example:
To set the tenant_scoped variable, use the following CLI commands:
[admin:avi-controller]: > configure gslb glb-1 [admin:avi-controller]: gslb> tenant_scoped [admin:avi-controller]: gslb> save
To disable tenant_scoped, use the following CLI commands:
[admin:avi-controller]: > configure gslb glb-1 [admin:avi-controller]: gslb>no tenant_scoped [admin:avi-controller]: gslb> save