Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Session Controller is a primary component in Ceptor – it contains the list of sessions that are currently known in the system, along with the information about each individual session, such as the logged-in flag, userid and password, and access rights. It also contains the authentication and authorization plugins that are responsible for authenticating the user or providing information needed for authorization.

Drawio
baseUrlhttps://ceptor.atlassian.net/wiki
diagramNamesessionctrl_components.drawio
tempPreviewsessionctrl_components.png
width500
zoom1
pageId852054
custContentId1030586375
lbox1
contentVer1
height500
revision1

A Session Controller can operate either alone, or in a cluster of multiple Session Controllers, that synchronize sessions information with each other. If they are deployed in a cluster, as SC mirrors, each change in a session, such as session creation, logon, logoff or session removal are broadcasted to the other SC servers, so they all are instantly synchronized.

A number of Agents communicate with one or more SC servers, and each SC server synchronizes changes with the other SC servers like this:

Drawio
baseUrlhttps://ceptor.atlassian.net/wiki
diagramNameSessionctrl cluster.drawio
tempPreviewSessionctrl cluster.png
width500
zoom1
pageId852054
custContentId1030455303
lbox1
contentVer1
height500
revision1

If the Agent 4 asks SC3 to create a new session, SC3 will tell SC1 and SC2 about the new session.

...

It is not recommended to cluster session controllers to obtain better performance, usually having two session controllers for fail-over purposes is more than enough. Testing has proved that there is little or no gain in performance by having more than one session controller. The CPU usage of the PP server is only in very few installations above 20%. So most likely adding additional machines or session controller instances, often only generates more session replication, and does not improve overall performance.

What

...

Works and What Does Not

First of all, keep things simple – there is no reason to set up 10 different PP servers in a cluster, if 2 is enough – having too many servers just complicates the configuration needlessly, and increases the risk that something will go wrong.

...