Avi Load Balancer UI has the Topology Policy option to use when the GSLB algorithm is set as Topology. Use the following steps to configure the topology-based GSLB algorithm for selecting pool members.

The configuration is divided into the following main points.

  • Associating a topology policy with the virtual service

  • Setting Topology as the GSLB algorithm for the GSLB Service

To configure topology algorithm using Avi Load Balancer UI.

Procedure

  1. Login to Avi Load Balancer UI and navigate to Applications > Virtual Services. Select the desired virtual services and click the edit option.
  2. Navigate to the Policies > Topology Policy tab.
  3. Create a new topology policy by clicking on the plus icon.
  4. Provide the desired name, match criteria, and actions for the new rule. Once all the fields are configured, click Submit.


    Caution:

    Topology policy algorithm does not work reliably with multiple pools in the GSLB service. So, if you use DNS virtual service with topology policy in a GSLB service, ensure that you configure only single pool group with the GSLB service.

  5. Navigate to Applications > GSLB Services and select the required GSLB service.
  6. Select the edit options available for the pool in the GSLB pools section.


  7. Select Topology from the drop-down available for the Pool Members Load Balancing Algorithm field.