Installation guide
12
Adding Web Load Balancer using
Administration Service
Pramati Server provides a software based load balancing solution. It is implemented as an
Interceptor which is a part of the Interceptor stack in the Pramati Web Container.
Configuring the Load Balancer is as simple as adding entries into the
web-lbconfig.xml
file. Pramati Server’s Load Balancer intelligently distributes load among a group of nodes.
While distributing load it also takes into consideration factors like session stickiness, thus
sending session based requests to the node where the session was initiated. It also acts like a
normal Load Balancer, a URI based director and also a failover node.
This chapter describes the steps to create, modify and remove a Pramati Load Balancer
using Server Administration Service. Before getting into the details of setting up the load
balancing, let’s discuss a few scenarios.
To know more about the concepts and architecture of the Load Balancer, please refer to the
chapter “Request Dispatcher Architecture”, in the Technical Reference guide.
Load Balancing Scenarios
In this section, we’ll discuss a number of scenarios where the Request Dispatcher in Load
Balancer can be used. A typical load balancing scenario is depicted by the following
diagram:
Case 1 The Request Dispatcher (RD) intercepts all requests to a set of homogeneous
machines. In this case the dispatcher would not serve any request on its own:
Typical Setup:
• RD as a Load Balancer