Load Balancing option Drupal application

Posted on 2011-05-05
Last Modified: 2013-11-05
We have built a Drupal application that is going to be Load Balanced over multiple servers.
The hosting company have asked us what kind of session based persistency is required on their Cisco load balancer. The options are:

the definition of these is:

1) IP-Netmask: In this case, the source IP address, the destination IP address, or both are used to uniquely identify individual clients and their requests for persistency purposes based on their IP netmask.

2) Cookie-Active: Client cookies uniquely identify clients to the load-balancer and to the servers that provide content. A cookie is a small data structure within the HTTP header that is used by a server to deliver data to a web client and request that the client store the information. In certain applications, the client returns the information to the server to maintain the connection state or persistence between the client and the server. COOKIE-ACTIVE therefore is when the load-balancer inserts the cookie on behalf of the server when a reply is being sent back to a client’s request, this way; the load-balancer carries out persistence so that it can identify a connection from a specific server to a specific client  

3) Cookie-Passive: The load-balancer learns or reads the cookies that the web server inserts in the HTTP header to identify the connection when responding to a client’s request.

Question: Which one should we use and why?
Question by:Adleys
    LVL 9

    Accepted Solution

    The order would be

    With the IP it's trickier as the user can be behind proxies and one the source IP address is not preserverd.
    Cookie-active means the LB inserts a cookie to track the session. This is the best choice as you have full control on the Load Balancer.
    Cookie-passive is a good choice but relies on cookie information populated by the servers.

    Author Closing Comment

    yet to be tested

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    This article will cover setting up redundant ISPs for outbound connectivity on an ASA 5510 (although the same should work on the 5520s and up as well).  It’s important to note that this covers outbound connectivity only.  The ASA does not have built…
    Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now