Product Documentation

Configuring a Load Balancing Method That Does Not Include a Policy

Aug 31, 2016

After you select a load balancing algorithm for your load balancing setup, you must configure the NetScaler appliance to use that algorithm. You can configure it by using the NetScaler command line or by using the configuration utility.

Note:

The token method is policy based and requires more configuration than is described here. To configure the token method, see Configuring the Token Method.

For some hash-based methods, you can mask an IP address to direct requests belonging to the same subnet to the same server. For more information, see The Destination IP Hash Method, The Source IP Hash Method, The Source IP Destination IP Hash Method, and The Source IP Source Port Hash Method.

To set the load balancing method by using the command line interface

At the command prompt, type:

set lb vserver <name> -lbMethod <method>

Example

set lb vserver Vserver-LB-1 -lbMethod LeastConnection

To set the load balancing method by using the configuration utility

  1. Navigate to Traffic Management > Load Balancing > Virtual Servers, and open a virtual server.
  2. In Advanced Settings, click Method, and in the Load Balancing Method list, select a method.