|
|
The following sections describe Log Central environment variables and how to set them:
Setting an Environment Variable
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.
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 |
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.
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.
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.
This environment variable defines the time interval, in milliseconds, at which the Process Monitor checks all registered processes. The default is 5000 (5 seconds).
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.
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.
This environment variable defines the service name that the data collection agents use when connecting to the Central Collector. The default is lc_talk.
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.
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|