Setting environment variables

Before starting any components or working with any configuration files, set the appropriate environment variables by running the environment scripts.

About this task

The environment scripts set the following required environment variables. The environment scripts are configured automatically with the correct locations where the components are installed. Other environment variables are set automatically when necessary by Network Manager components.

$NCHOME
The Netcool® home location that defaults to netcool directory under the installation directory:
  • /opt/IBM/netcool/core
$NMGUI_HOME
The location where the Network Manager GUI components are installed. By default, this location is /opt/IBM/netcool/gui/precision_gui.
$ITNMHOME and $PRECISION_HOME
The Network Manager home location that defaults to $NCHOME/precision:
  • /opt/IBM/netcool/core/precision
Note: The script also sets $PRECISION_HOME. By default, $PRECISION_HOME is set to the same location as $ITNMHOME, but is used by other parts of the product.
$DASH_HOME
The installation location of Dashboard Application Services Hub. By default, this location is /opt/IBM/JazzSM/ui.
$JazzSM_HOME
The installation location of Jazz for Service Management. By default, this location is /opt/IBM/JazzSM.

To set the Network Manager environment variables, run the appropriate script for the components that you installed. There are different scripts on the server where the core components are installed and the server where the GUI components are installed.

Important: If you have installed the core components and the GUI components on one server, run both scripts.

Procedure

Run the appropriate environment script:

On the server where the Network Manager core components are installed, the environment script is installation_directory/netcool/core/env.sh.

For example, on Bash, Bourne, and Korn shells, source the env.sh script using a command similar to the following:
. /opt/IBM/netcool/core/env.sh

On the server where the Network Manager GUI components are installed, the script is installation_directory/nmgui_profile.sh, for example, /opt/IBM/netcool/nmgui_profile.sh.

For example, on Bash, Bourne, and Korn shells, source the nmgui_profile.sh script using a command similar to the following:
. /opt/IBM/netcool/nmgui_profile.sh

What to do next

After you have set the environment variables, start Network Manager and make sure it is running correctly.