Download This Guide
sbrd.conf File
The sbrd.conf file (Table 35) is an executable Bourne shell script that is invoked by the sbrd process to initialize the execution environment for Steel-Belted Radius Carrier.
![]() | Note: In previous versions of server software, users were instructed to modify the sbrd script if they wanted to change its settings. The sbrd.conf file makes direct modification to the sbrd script unnecessary. Do not modify the sbrd script. |
For example:
#!/bin/sh ################################################################################ # sbrd.conf ################################################################################ # This is an executable Bourne shell script, invoked by sbrd in order to # initialize the execution environment for Steel-Belted Radius software. # Among others, RADIUSDIR and SELF are read-only constants defined in the # sbrd script. Do not attempt to modify these read-only constants. # Edit these lines to enable configurations that open many files concurrently. # Management of high file descriptors is required beyond around 224 open files. # Do not exceed the 1024 file limitation that exists for 32-bit applications. # Solaris pfiles and Open Source lsof utilities are able to report open files. ULIMIT_OPEN_FILES=1024 # typically 256 - 1024 inclusive, "disabled", or "" RADIUS_HIGH_FDS=1 # management of high file descriptors (0=disable, 1=enable) #ORACLE_MSB_FILE="$ORACLE_HOME/rdbms/mesg/ocius.msb" # absolute filename, or "" # Edit this line to configure the file mode creation mask, see umask(1). # Specify an explicit value in order to override the current environment. # Specify "" to use the current environment as is without modification. RADIUSUMASK="" # either a valid umask argument, or "" # Radius executable, options, and arguments RADIUS="radius" RADIUSOPTS="" RADIUSARGS="sbr.xml" RADIUS_PRIVATE_DIR="$RADIUSDIR" # Watchdog executable, options, and arguments WATCHDOGENABLE=0 # Edit this line to enable watchdog (0=disable, 1=enable) WATCHDOG="radiusd" WATCHDOGOPTS="--config $RADIUSDIR/radiusd.conf --pidfile $RADIUSDIR/radius.pid" WATCHDOGOPTS="$WATCHDOGOPTS --logfile $RADIUSDIR/radiusd.log" WATCHDOGARGS="$RADIUSDIR/$SELF" #Configuration parameter to start GWrelay process (0=no, 1=yes) GWRELAYENABLE=0 # Edit these lines to interpose arbitrary libraries, e.g. libumem.so allocator. # We prefer /lib/libumem.so over the default /usr/lib/libmtmalloc.so for # performant, scalable, multi-threaded memory allocation with optional debug. # Uncomment UMEM_ variables to enable libumem.so debug, see umem_debug(3MALLOC). # WARNING: Enabling libumem.so debug has a noticeable impact on performance! RADIUS_LD_PRELOAD="/lib/libumem.so" # a space separated list of libs, or "" #UMEM_DEBUG="default" # Uncomment to enable libumem.so debug facilities #UMEM_LOGGING="transaction" # Uncomment to enable libumem.so in-memory logs # Edit these lines to configure the management of radius specific core files. # Specify an explicit value in order to override the current environment. # Specify "disabled" to use the current environment as is without modification. # Specify "" to use the current environment as is and adjust if inappropriate. ULIMIT_CORE_SIZE="" # either a valid ulimit -c argument, "disabled", or "" ULIMIT_CORE_COUNT=3 # either 0 - 999999999, "unlimited", "disabled", or "" # WARNING: Following parameters are auto-configured. Manual editing is not recommended. WEBSERVER_JAVA_HOME= CUSTOM_JVM_PATH=
![]() | Note:
Do not include spaces in parameter settings in the sbrd.conf file. |
Table 35: sbrd.conf Syntax
Parameter | Function |
---|---|
ULIMIT_CORE_SIZE | Specifies the size of core files generated if SBR Carrier fails.
Default value is "". |
ULIMIT_CORE_COUNT | Specifies the number of core files maintained on the SBR Carrier server. If the maximum number of core files already exists on the server, SBR Carrier discards the oldest core files and generates a new core file if it fails.
Default value is 3. |
ULIMIT_OPEN_FILES | Specifies the number of open files that the SBR Carrier process can have open at one time.
Default value is 1024. Note: ULIMIT_OPEN_FILES should never be set less than 256. RADIUS_HIGH_FDS should always be set to 1 unless Juniper Networks Technical Support advises otherwise. Together these parameters ensure that SBR Carrier is always able to open at least 256 regular files. This is especially important for sites that configure multiple Oracle plug-ins. |
RADIUSMASK | Specifies the file permissions that are withheld when new log files are created.
|
RADIUS_HIGH_FDS |
Default value is 1. Note: RADIUS_HIGH_FDS should always be set to 1 unless Juniper Networks Technical Support advises otherwise. ULIMIT_OPEN_FILES should never be set less than 256. Together these parameters ensure that SBR Carrier is always able to open at least 256 regular files. This is especially important for sites that configure multiple Oracle plug-ins. |
ORACLE_MSB_FILE | Specifies the absolute path to the locale-specific Oracle message file.
Default value is "". |
RADIUS | Default value is “radius”. Note: Do not change this value unless instructed to do so by Juniper Networks Technical Support. |
RADIUSOPTS | Specifies options used when running SBR Carrier. Default value is "". Note: Do not change this value unless instructed to do so by Juniper Networks Technical Support. |
RADIUSARGS | Default value is “sbr.xml”. Note: Do not change this value unless instructed to do so by Juniper Networks Technical Support. |
RADIUS_PRIVATE_DIR | Default value is “$RADIUSDIR”. Note: Do not change this value unless instructed to do so by Juniper Networks Technical Support. |
RADIUS_LD_PRELOAD | Specifies an arbitrary space-separated list of libraries to be interposed on the RADIUS process. In particular, this parameter overrides mtmalloc with the new umem memory allocator. If commented out or set to "", the parameter does not override anything and the sbrd process uses the mtmalloc memory allocator as in previous releases. The default value "/lib/libumem.so", uses the umem memory allocator, which provides improved memory handling, instead of mtmalloc. Note: In addition to improved performance considerations, the umem memory allocator offers optional debug features that are controlled by the UMEM_DEBUG and UMEM_LOGGING parameters. See the Solaris umem_debug(3MALLOC) manual pages for more information. UMEM_DEBUGThis parameter enables and controls debug features of the umem memory allocator that is enabled by the RADIUS_LD_PRELOAD parameter.
Default value is commented out, that is, umem debugging are disabled for better performance. Caution: Enabling debug features of the umem memory allocator will noticeably impact SBR performance and memory utilization. UMEM_LOGGINGThis parameter enables and controls debug features of the umem memory allocator that is enabled by the RADIUS_LD_PRELOAD parameter.
Default value is commented out, that is, umem in-memory debug logs are disabled for better performance. Caution: Enabling debug features of the umem memory allocator will noticeably impact SBR performance and memory utilization. |
WATCHDOGENABLE |
This parameter is set from your input to the Steel-Belted Radius Carrier configuration script. |
WATCHDOG | Specifies the name of the auto-restart module. Default value is radiusd. Note: Do not change this value unless instructed to do so by Juniper Networks Technical Support. |
WATCHDOGOPTS | Default value is --config $RADIUSDIR/radiusd.conf --pidfile $RADIUSDIR/radius.pid ----logfile $RADIUSDIR/radiusd.log. Note: Do not change this value unless instructed to do so by Juniper Networks Technical Support. |
WATCHDOGARGS | Default value is $RADIUSDIR/$SELF. Note: Do not change this value unless instructed to do so by Juniper Networks Technical Support. |
GWRELAYENABLE | Specifies whether to start the GWrelay process while executing the ./sbrd start script.
Note: This parameter is automatically populated after running the SBR Carrier configuration script. |
SS7LDAP_ADDRESS= 127.0.0.1 | This parameter is automatically populated after running the Steel-Belted Radius Carrier configuration script and answering “Yes” to the question: “Do you want to configure for use with SS7? [n]:”. Do not modify this parameter without consulting Juniper Networks Technical Support. |
SS7LDAP_PORT=389 | This parameter is automatically populated after running the Steel-Belted Radius Carrier configuration script and answering “Yes” to the question: “Do you want to configure for use with SS7? [n]:”. Do not modify this parameter without consulting Juniper Networks Technical Support. |
STANDALONEMODE | This parameter configures the use of the separate session database process for a standalone SBR Carrier.
Default value is local, if your SBR Carrier server is a 32-bit Linux machine. Default value is cstserver, if your SBR Carrier server is a 64-bit Linux machine. Note: In a 64-bit Linux machine, the separate session database process should be disabled (that is, the Enable parameter in the dbclusterRPC.gen should be set to 0) when you manually place SBR Carrier into single-process accounting mode from dual-process accounting mode. |
CUSTOM_JVM_PATH | This parameter specifies the path where the libjvm.so file is located. This parameter also sets the LD_LIBRARY_PATH environment variable to point to the location of the libjvm.so file. Note: Do not edit this parameter manually. This parameter is automatically populated after running the SBR Carrier configuration script. |
WEBSERVER_JAVA_HOME | This parameter specifies the path where the Java 1.7.0 or later version that is used to start the webserver for launching the Web GUI is installed in your system. Note: Do not edit this parameter manually. This parameter is automatically populated after running the SBR Carrier configuration script. |