ADC

Static proximity method

When a virtual server is configured to use the static proximity method, it selects the service that best matches the proximity criteria.

For the static proximity method to work, you must either configure the NetScaler appliance to use an existing static proximity database populated through a location file or add custom entries to the static proximity database. After adding custom entries, you can set their location qualifiers. After configuring the database, you are ready to specify static proximity as the load balancing method.

For more details, see the following topics.

Specifying the Proximity Method

When you have configured the static proximity database, you are ready to specify static proximity as the GLSB method.

To specify static proximity by using the command line interface

At the command prompt, type the following commands to configure static proximity and verify the configuration:

set lb vserver <name> -lbMethod STATICPROXIMITY

show lb vserver <name>
<!--NeedCopy-->

Example:

set lb vserver Vserver-LB-1 -lbMethod STATICPROXIMITY

show lb vserver
<!--NeedCopy-->

To specify static proximity by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Virtual Servers and select the virtual server.
  2. Click Edit and expand the Method section.
  3. In the Load Balancing Method list, select STATICPROXIMITY.

Note

Enable the proximityFromSelf parameter to use the Netscaler’s loopback IP address instead of the client’s IP address to fetch the closest server location for static proximity load balancing or GSLB decision.

Static proximity method