Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
  
[+] Expand All
[-] Collapse All

cstserver.ini File

The cstserver.ini file defines the operational characteristics of the separate session database process. The cstserver.ini file must be located in /opt/JNPRsbr/radius.

Note: This file is available only in the standalone Linux machine.

[Configuration] Section

The [Configuration] section (Table 147) of the cstserver.ini file contains parameters that control the behavior of the separate session database process.

Table 147: cstserver.ini [Configuration] Fields

Parameter

Function

CSTPort

Specifies the port on which the separate session database process listens for incoming RPC client connections. You can configure any available or free TCP port.

Default value is 9090.

Note: If this parameter is set to 0, the port is set as 9090 (default value).

CSTRestorationBlock

Specifies the mode of session restoration.

  • If set to 1, session restoration happens synchronously. SBR Carrier is operational only after all sessions are restored.

    Note: The session restoration process takes more time if the size of the HST file is large, thus causing SBR Carrier to wait for a longer time to start up. Local CST does not perform session restoration if the HST file size is greater than 1.25 GB.

  • If set to 0, session restoration happens asynchronously, enabling SBR Carrier to start up without waiting for the session restoration process to complete.

    Note: In asynchronous mode, Accounting-Start or Accounting-Interim messages may be received before a matching session is restored, which results in persistence of stale session data.

Default value is 1.

StartupListenTimeout

Specifies the number of seconds the separate session database process listens for incoming RPC client connections after a successful start. If there is no incoming connection until the specified timeout, the separate session database process shuts down.

Default value is 30 seconds.

Note: If this parameter is set to 0, the timeout is set as 30 seconds (default value).

WorkerThreadCount

Specifies the number of worker threads required for the separate session database process.

Default value is 100.

Note: If this parameter is set to 0, then the number of threads is set as 100 (default value).

[HA-Settings] Section

The [HA-Settings] section (Table 148) of the cstserver.ini file contains the parameters that control the high-availability functionality between the separate session database process and RADIUS process.

Table 148: cstserver.ini [HA-Settings] Fields

Parameter

Function

DelayBetweenRetries

Specifies the number of seconds the separate session database process must wait between retry attempts while monitoring the health of SBR Carrier.

Default value is 2.

HeartbeatHealthCheckPort

Specifies the port on which the separate session database process listens for heartbeat messages. You must set this parameter with the same value that is configured for the HeartbeatHealthCheckPort parameter in the dbclusterRPC.gen file.

Default value is 9091.

Note: If this parameter is set to 0, then the port is set as 9091 (default value).

LogLevel

Activates logging for the separate session database process and sets the level of detail of the message.

  • If set to 0, the entries in the log file contain default information.
  • If set to 1, the entries in the log file contain debug information.

Default value is 0.

LogPath

Specifies the path of the log file. You can specify any valid path that exists in the SBR machine.

Default path is /opt/JNPRsbr/radius.

NumberofRetries

Specifies the number of retry attempts performed by the separate session database process when attempting to connect to the RADIUS process.

Default value is 3.

Modified: 2018-01-11