6 Background Processes
c_rehash
Purpose
c_rehash is an openssl (on page 2) utility that takes a certificates directory as an argument. For each certificate file in the directory c_rehash creates a symbolic link to the certificate file, where the symbolic link name is the hash value of the certificates file. This enables fast certificate lookup for programs that search using the certificate hash value.
dapIF
Purpose
dapIF is a SLEE interface. It is the main Oracle Communications Convergent Charging Controller Data Access Pack DAP client that sends and receives XML requests to external ASPs. It listens for SLEE requests and messages from ASPs.
It can trigger a PI command from a control plan using the DAP Send Request feature node when communicating with an ASP using the PIXML protocol.
Startup
The interface is started by the SLEE, through the /IN/service_packages/DAP/bin/dapIF.sh shell script.
Configuration
dapIF is configured in the DAP section of
eserv.config and the DAP Resources screen.
For more information about the:
- eserv.config parameters, see DAP eserv.config configuration
- DAP Resources screen, see Resources
Command line parameters
dapIF accepts the following command-line parameters at start up.
dapIF [-u usr/pwd|--user usr/pwd]
Note: Either the -u or the --user option can be used.
-u usr/pwd
| Syntax: | -u usr/pwd
|
| Description: | The userid and password combination to use to log into the local Oracle instance. |
| Type: | String |
| Optionality: | Optional (default used if not set). |
| Allowed: | |
| Default: | / |
| Notes: | Cannot be used with the --user /usr/pwd option.
|
| Example: | -u smf/smf
|
--user /usr/pwd
| Syntax: | --user usr/pwd
|
| Description: | The userid and password combination to use to log into the local Oracle instance. |
| Type: | String |
| Optionality: | Optional (default used if not set). |
| Allowed: | |
| Default: | / |
| Notes: | Cannot be used with the -u usr/pwd option.
|
| Example: | --user smf/smf
|
dapMacroNodes
Purpose
This slee_acs plug-in provides the DAP macro nodes.
The nodes provided are:
- Send Request
- DAP Request
For more information about:
- Macro node libraries, see ACS Technical Guide
- The CPE, see CPE User's Guide
ldapIF
Purpose
The ldapIF process is the main process in the LDAP IF component. It is a SLEE interface process. It accepts SLEE request messages initiated from DAP Request nodes within slee_acs control plans and translates them into LDAP requests to be sent over TCAP to waiting LDAP servers. The response is returned via the reverse path back to the DAP Request node.
Startup
This task is started by the SLEE, by the following lines (or similar) in SLEE.cfg:
INTERFACE=ldapIF ldapIF.sh /IN/service_packages/DAP/bin
EVENTNotes:
- ldapIF.sh is a shell script which starts the ldapIF process.
- The above are defaults and may vary.
- Only a single instance of the ldapIF process will be started.
Configuration
Global configuration for ldapIF is in eserv.config (or wherever the ESERV_CONFIG_FILE environment variable indicates). The ldapIF can run without explicit configuration by using internal default configuration settings. Sending a SIGHUP signal to the ldapIF will force it to reload the eserv.config configuration.
For more information regarding ldapIF global configuration via eserv.config, see Global Configuration . For more information about causing ldapIF to reload its configuration, see Loading eserv.config configuration changes .
The ldapIF also uses per-ASP and per-operation settings. These are read from the SLC database (which contains copies of data replicated from the primary configuration on the USMS nodes). This database configuration is reloaded periodically as part of the normal ldapIF processing.
For more information regarding ldapIF service configuration via the DAP GUI, see DAP Resource Configuration .
Example configuration
For an example of an LDAP IF configuration section of an eserv.config file, see Example eserv.config file section .
Failure
The ldapIF will be monitored by the SLEE watchdog. The watchdog will restart ldapIF if it fails to respond to regular heartbeat events. For more details about how the watchdog monitors SLEE processes, see the SLEE Technical Guide.
ldapIF generates standard SMS alarm log messages to alert operators to any misconfiguration or abnormal processing. For more information about the alarms generated by ldapIF, see LDAP Interface for DAP Alarms Guide.
Output
The ldapIF process writes error messages to the system messages file. Under normal processing it will echo all alarm messages to STDERR. As a SLEE process, this will be merged with all SLEE output.
See Debug output for more information.
Status reports
At any time, you can send ldapIF a SIGUSR1 which will cause it
to generate a status output listing to STDOUT. This will usually be
redirected to /IN/service_packages/DAP/tmp/ldapIF.log
file.
Sample output is:
** Connection Status ** ASP: LDAP1 Host: parker, port: 389
Connection state: IDLE** Connection Status ** ASP: LDAP2 Host:
grimm, port: 389 Connection state: READY Time connected: 11s Number
of pending (unsent) requests: 0 Number of requests waiting for
response: 0 Total requests processed: 30Note: Generating the status report will not affect the connections, and can be done safely while the system is under production load.
libdapChassisActions
Purpose
This slee_acs plug-in implements the chassis actions which are used by the DAP macro nodes when they need to interact with components outside slee_acs.
libDAPManager.so
Purpose
The libDAPManager.so is a combined connection manager and XML interface. A DAP client will use libDAPManager.so to communicate with an ASP.
Location
libDAPManager.so is located wherever a DAP client is installed (for example, on SMS, SLC or VWS.
eserv.config configuration
libDAPManager has configuration available in the
DAP section of eserv.config. For more
information, see DAP
eserv.config
configuration
.
openssl
Purpose
openssl is used by dapReadyCertificates.sh and c_rehash to concatenate and rehash certificate files, creating links to the certificate files by hash value so that DAP can quickly find the certificates that it requires.
Location
openssl is part of the operating system installation. It is used on the SLC and VWS nodes. Depending on the operating systems version openssl is present as one of:
- /usr/sfw/bin/openssl
- /usr/bin/openssl with a symbolic link from /usr/sfw/bin/openssl to /usr/bin/openssl
sqlite3
Purpose
sqlite3 is an embedded SQL database engine which reads and writes directly to the database file on disk. Programs that link with the sqlite3 library can have SQL database access without running a separate RDBMS process.
It handles the DAP pending queue.
Configuration
sqlite3 accepts the following command line parameters.
/IN/service_packages/DAP/bin/sqlite3 path/pendingRequests.db
'<VACUUM|PRAGMA integrity_check>;'To resize the database after a lot of data has been removed, run VACUUM as acs_oper.
To raise alarms about malformed db files, use PRAGMA integrity_check.