5.2 Performing Dispatcher Tasks

The dispatcher service runs on the server on which OFSBD is installed. Once the dispatcher starts, it runs continuously unless a reason warrants shutting it down or it fails due to a problem in OFSBD.

This section covers the following topics:

Setting Environment Variables

Environment variables are set up during the OFSBD installation process. These generally do not require modification thereafter. All behavior detection scripts and processes use the system.env file to establish their environment.

About the System.env File

The following table describes environment variables in the system.env file. This file can be found at <OFSAAI Installed Directory>/behavior_detection/algorithms/MTS/share

Table 5-3 OFSBD Environment Variables in system.env File

Variable Description
KDD_HOME Install path of the OFSBD software.
KDD_PRODUCT_HOME Install path of the solution set. This is a directory under KDD_HOME.
The following table describes database environment variables in the system.env file.

Table 5-4 Database Environment Variables in system.env File

Variable Environment Description
ORACLE_HOME Oracle Identifies the base directory for the Oracle binaries. You must include:
  • $ORACLE_HOMEand$ORACLE_HOME/bininthe PATH environment variable value.
  • $ORACLE_HOME/libinthe LD_LIBRARY_PATHenvironmentvariable value.
ORACLE_SID Oracle Identifies the default Oracle database ID/name to which the application connects.
TNS_ADMIN Oracle Identifies the directory for the Oracle network connectivity, typically specifying the connection information (SID, Host, Port) for accessing Oracle databases through SQL*NET.
The following table shows operating system variables in the system.env file.

Table 5-5 Operating System Environment Variables in system.env File

Variable Description
PATH Augmented to include <OFSAAI Installed Directory>/behavior_detection/algorithms/MTS/bin and the $ORACLE_HOME, $ORACLE_HOME/bin pair (for Oracle).
LD_LIBRARY_PATH, LIBPATH, SHLIB_PATH (based on operating system) Augmented to include <OFSAAI Installed Directory>/behavior_detection/algorithms/MTS/lib and $ORACLE_HOME/lib (for Oracle)