How to check if CREATE_HTTP_SESSION for Load balancer is correctly set

  • KM00635549R
  • 05-Nov-2013
  • 21-Feb-2016

This document is under revision.

Summary

How to check if CREATE_HTTP_SESSION for Load balancer is correctly set

Question

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?

Answer

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.