BEA Logo BEA Log Central Release 5.0

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   Log Central Doc Home   |   Configuration Guide   |   Previous Topic   |   Next Topic   |   Contents   |   Index

Environment Variables

 

The following sections describe Log Central environment variables and how to set them:

Setting an Environment Variable

BEA_LC_CONF_SERVICE

BEA_LC_HOST_CONF

BEA_LC_IPCKEY

BEA_LC_MONITOR_WAKEUP_INTVL

BEA_LC_PROC_MAX_RESTARTS

BEA_LC_PROC_RESTART_INTVL

BEA_LC_TALK_SERVICE

BEA_LC_TRAP_CONF

 


Setting an Environment Variable

To set an environment variable, use the setenv command on UNIX or the SET command on Windows NT at a DOS prompt. The following table provides examples.

Table C-1 Examples: Setting an Environment Variable

Platform

Example

C shell on UNIX

setenv BEA_LC_TRAP_CONF /usr/home/myconfig.conf

Windows NT

SET BEA_LC_TRAP_CONF C:\usr\home\myconfig.conf

 


BEA_LC_CONF_SERVICE

This environment variable defines the name of the User Datagram Protocol (UDP) service that the start_messaging processes on the central host and managed nodes use to communicate with each other. The default is lc_conf. For more information about the UDP service, see Configuring the Central Host, and Configuring Multiple Instances of Log Central.

 


BEA_LC_HOST_CONF

This environment variable defines the location of the Log Central messaging configuration file. The default is install_dir/etc/messaging.conf, where install_dir is the directory where you installed Log Central. For a description of the messaging configuration file, see Configuration Files.

 


BEA_LC_IPCKEY

This environment variable defines the interprocess communication (IPC) key that Log Central uses, and also acts as an identifier for Log Central. If you are running multiple Log Central systems, each system needs a different value for its IPC key. BEA_LC_IPCKEY must be the same as IPCKEY in the LC_GLOBAL entry in the Log Central messaging configuration file. The default is 0xeeee0000.

The start_messaging process on the central host reads IPCKEY from the Log Central messaging configuration file and passes it to the processes that it starts (ipc_config, proc_monitor, msg_sender, msg_receiver, msg_processor). Log Central processes that are not started by start_messaging on the central host, such as log_monitor, msg_test, and start_messaging on the managed nodes, read BEA_LC_IPCKEY.

 


BEA_LC_MONITOR_WAKEUP_INTVL

This environment variable defines the time interval, in milliseconds, at which the Process Monitor checks all registered processes. The default is 5000 (5 seconds).

 


BEA_LC_PROC_MAX_RESTARTS

This environment variable defines the maximum number of restarts that a process can make within the time specified by BEA_LC_PROC_RESTART_INTVL. The default is 4.

 


BEA_LC_PROC_RESTART_INTVL

This environment variable defines the length of time, in seconds, during which the Process Monitor can restart a process. The maximum number of restarts during this interval is defined by BEA_LC_PROC_MAX_RESTARTS. The default is 600.

 


BEA_LC_TALK_SERVICE

This environment variable defines the service name that the data collection agents use when connecting to the Central Collector. The default is lc_talk.

 


BEA_LC_TRAP_CONF

This environment variable defines the location of the trap configuration file, which defines the location of SNMP management stations that are configured to receive SNMP traps from Log Central. On UNIX, the default location is /etc/lc_trap.conf. On Windows NT, the default location is C:\etc\lc_trap.conf. For information about SNMP management, see Integrating SNMP. For information about the trap configuration file, see Configuration Files.