This section covers the configuration steps for configuring tenancy using NSX Advanced Load Balancer CLI.

While configuring the GSLB service, the virtual service selection will list the service based on the tenants in GSLB Config. By default, in the GSLB service, the system will display all the virtual services. However, starting with NSX Advanced Load Balancer version 20.1.5, you can change tenant_scope to see the only tenant scoped virtual services.

The tenant_scope is the GSLB specific configuration parameter to restrict virtual service selection from the current tenant when it is set to True (Default) or allow virtual service selection from all accessible tenants when set to False.

Note:

The default behavior in NSX Advanced Load Balancer version 20.1.5 is tenant_scoped set to True.

Example:

To set tenant_scoped, use the following CLI:

[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:

[admin:avi-controller]: > configure gslb glb-1
[admin:avi-controller]: gslb>no tenant_scoped
[admin:avi-controller]: gslb> save