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.
Procedure
On the server where the Network Manager core components are installed, the environment script is installation_directory/netcool/core/env.sh.
. /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.
. /opt/IBM/netcool/nmgui_profile.sh