Appendix F. Initialization File


Initialization File

The Log Central database management and the Log Central user interface get their initialization information from the installdir/etc/msg_processor.ini file.

To fine-tune system performance, you may wish to modify the values of some of the parameters of the initialization file. You might, for example, want to change the default values of sleep times and read intervals. Also, on some systems, you might need to specify Oracle thin drivers in the database URL.

The following table lists all the parameters that can be set within msg_processor.ini.

Properties Name Description Valid Values Interested Programs

LC.URL

URL for database

Examples

MS SQL Server or Oracle Type-1 driver

jdbc:odbc:mngrdb

Oracle8 Type-2 driver

jdbc:oracle:oci8:@lcdbserv

Oracle Type-4 driver

jdbc:oracle:thin:@amazon: 1521:amazonProd

msg_processor, lc_create_schema, lc_drop_schema, msgdef_export, msgdef_import, msgdef_delete, subsystem_create, subsystem_delete, lc_user_commands

LC.driver

JDBC Driver Name

Examples

MS SQL Server or Oracle Type-1 driver

sun.jdbc.odbc.JdbcOdbcDriver

Oracle Type-2 or Type-4 driver

oracle.jdbc.driver.OracleDriver

msg_processor, lc_create_schema, lc_drop_schema, msgdef_export, msgdef_import, msgdef_delete, subsystem_create, subsystem_delete, lc_user_commands

LC.userName

Database login name

Default/Example

scott

msg_processor, lc_create_schema, lc_drop_schema, msgdef_export, msgdef_import, msgdef_delete, subsystem_create, subsystem_delete, lc_user_commands

LC.password

Database password

Default/Example

tiger

msg_processor, lc_create_schema, lc_drop_schema, msgdef_export, msgdef_import, msgdef_delete, subsystem_create, subsystem_delete, lc_user_commands

LC.DBVendor

Database vendor name

Default/Example

ORACLE

ORACLE, MSSQL

msg_processor, lc_create_schema, lc_drop_schema, msgdef_export, msgdef_import, msgdef_delete, subsystem_create, subsystem_delete, lc_user_commands

LC.parseFunction

Process parse function or not

Default

true

true, false

msg_processor

LC.loadDB

Database is available or not

Default

true

true, false

msg_processor

LC.maxOpenTries

Maximum number of attempts to open a file

Default

10000

numeric value

msg_processor

LC.openSleepTime

Sleep time in milliseconds if file is not available for open

Default

2000

numeric value

msg_processor

LC.readSleepTime

Sleep time in milliseconds between two reads if no new records

Default

2000

numeric value

msg_processor

LC.readDelayTime

Delay time in milliseconds between two reads; should be 0

Default

0

numeric value

msg_processor

LC.realTimeSleep Time

Sleep time in milliseconds between two reads from shared memory if no new records is available

Default

1000

msg_processor

LC.ILLog

Path for error/debug logs created by IL system itself

Default/Example

LCLog

valid file names

msg_processor, lc_create_schema, lc_drop_schema, msgdef_export, msgdef_import, msgdef_delete, subsystem_create, subsystem_delete, lc_user_commands

LC.Server.Parameters.MaxConnections

Maximum simultaneous connection allowed; 0 means no limit

Default

100

numeric

msg_processor

LC.Server.dbPort

Port for msg_processor

Default

7001

msg_processor, lc_launch