EGO environment variables

Environment variables are used to set the environment for commands, daemons and processes.

On UNIX, the EGO environment variables are set by the script profile.ego or cshrc.ego.

On Windows, the EGO environment variables are set by the installer.

Environment variables are primarily used internally by the software, but can be used as shortcuts to locate a particular directory.


Environment variable

Description

Default Value

EGO_BINDIR

The directory where commands are installed. Added to PATH on Linux and Path on Windows.

On Linux:

EGO_TOP/1.2/platform/bin

On Windows:

EGO_TOP\1.2\bin

EGO_CLIENT_ADDR

Used with firewalls and rfa.

Range of listening ports for clients to connect back to rfa.

This environment is useful if you have a firewall configured on the client side.

Example:

EGO_CLIENT_ADDR=56000-56020

There is no default value. If not set, the client will listen on a random port.

EGO_CONFDIR

The directory where the valid EGO configuration file ego.conf is stored. The file may be duplicated in the system, but the cluster only uses the file stored in this location.

On Linux:

EGO_TOP/kernel/conf or

\shared_dir/kernel/conf

On Windows:

EGO_TOP\kernel\conf or

\shared_dir\kernel\conf

EGO_ESRVDIR

The directory where EGO service configuration files are stored.

On Linux:

EGO_TOP/eservice or /shared_dir/eservice

On Windows:

EGO_TOP\eservice or

\shared_dir\eservice

EGO_LIBDIR

The directory where the EGO libraries are installed, added to LD_LIBRARY_PATH on Linux, added to Path on Windows.

On Linux:

EGO_TOP/1.2/platform/lib

On Windows:

EGO_TOP\1.2\lib

EGO_LOCAL_CONFDIR

This is the local configuration directory.

On Linux:

EGO_TOP/kernel/conf

On Windows:

EGO_TOP\kernel\conf

EGO_SERVERDIR

The directory where the EGO server binaries and shell scripts are installed, added to PATH on Linux and Path on Windows.

On Linux:

EGO_TOP/1.2/platform/etc

On Windows:

EGO_TOP\1.2\etc


Note:

$EGO_TOP is the directory where EGO is installed, and platform represents the operating system. For example, for Linux: linux2.4-glibc2.3-x86

The most important environment variable to be set is EGO_CONFDIR, which, if not set in the current logon session, may prevent a user from running EGO clients.