Self-Solve Knowledge Search

Minimize Maximize
How to check if CREATE_HTTP_SESSION for Load balancer is correctly set
Title :
How to check if CREATE_HTTP_SESSION for Load balancer is correctly set
Document ID :
KM00635549
Product - Version:
quality center ;
OS :
Updated :
Sun Feb 21 10:04:04 GMT 2016
Summary :
How to check if CREATE_HTTP_SESSION for Load balancer is correctly set

It is recommended that customers set in the Site configuration parameter CREATE_HTTP_SESSION = "Y" when using ALM cluster with a load balancer.

Details of the setting: You can use this parameter if you are working with load balancing over a cluster of application servers. If the parameter is set to “Y”, ALM creates an HTTP session. This causes the load balancer to operate in sticky mode, meaning that after a request sent by a client is directed to a particular node in the cluster, all subsequent requests sent by that client are directed to the same node.

How to check if the setting after adding is effective?

Solution

When the setting  is "Y" all the requests with one specific connectID in the QCserver debug log will go into a specific server node.
And when it's "N" the requests will go to server nodes randomly (based on LB).

Note: the connectID is not the HTTP session ID. It is an ID generated in the request "ConnectProject" and is stored in SA DB (PROJECT_SESSIONS), and it represents a project connection.