Importer Environment Variable – Overriding Default Values for Linux Enterprise Manager Servers

 

Introduction

By default, the number of sub-importer processes spawned by Enterprise Manager will be equal to the number of logical CPUs. If that is not desired, the number can be controlled by setting the ‘_EM_NUM_IMPORTERS’ environment variable. On Windows this should be a system environment variable. Configuration on a Linux Enterprise Manager Server will require settings within the directory files located in:

/etc/em_env_vars

Problem

An example application for this use would be when there are a low number of servers for ESM to talk to but the ESM machine has a high number of CPU cores.

If you have 10 servers but 4 cores on your ESM machine, it doesn’t necessarily make sense to run an importer service on each of the 4 cores.

If you have 100 servers and 4 cores, it may make more sense to allow an importer to run on each core. Consult with Engineering to optimize values based on Environment, Performance, and database conditions.

Solution

You can set these environment variable values located in:

/etc/em_env_vars

This will require a reboot of the EM Server.

 

In Example:

For performance reasons, you may need to reduce the EM Importer Count on a Linux Server from 8 to 4.

To set the ‘_EM_NUM_IMPORTERS’ variable, it should look like this in the file:

export _EM_NUM_IMPORTERS=4

(replace ‘4’ with any desired value).

AFTER 25H1P1 and up, you can set these normally without export option.
In Example:

“set <variable_name>=<value>”. 

Importer-Environment-Variable-enterprise-manager-linux.pdf