ADC

Customize a load balancing configuration

After you configure a basic load balancing setup, you can make several modifications to it so that it distributes the load exactly as you need. The load balancing feature is complex. You can modify the basic elements by doing one or more of the following:

  • Changing the load balancing algorithm
  • Configuring load balancing groups and using them to create your load balancing configuration
  • Configuring persistent client-server connections
  • Configuring the redirection mode
  • Assigning different weights to different services that have different capacities.

The default load balancing algorithm on the NetScaler appliance is the least connection method. In the least connection method, the appliance sends each incoming connection to the service that is currently handling the fewest connections. You can specify different load balancing algorithms, each of which is suited to different conditions.

To accommodate applications such as shopping carts, which require that all requests from the same user be directed to the same server, you can configure the appliance to maintain persistent connections between clients and servers. You can also specify persistence for a group of virtual servers. Persistence lets the appliance to direct individual client requests to the same service regardless of which virtual server in the group receives the client request.

You can enable and configure the redirection mode that the appliance uses when redirecting user requests, choosing between IP-based and MAC-based forwarding. You can also assign weights to different services, specifying what percentage of incoming load must be directed to each service. Assigning weights enable you to include servers with different capacities in the same load balancing setup without;

  • overloading the lower-capacity servers or
  • allowing the higher-capacity servers to sit idle.
Customize a load balancing configuration

In this article