Name

nnm.envvars — A script to define the environment variables for universal paths in NNMi.

SYNOPSIS

Windows operating systems:

nnm.envvars.bat

UNIX operating systems:

nnm.envvars.sh

nnm.envvars.csh

DESCRIPTION

The nnm.envvars script defines the NNMi environment variables for universal paths. Universal paths simplify the use of NNMi and other HP Software products by providing paths and filenames common to all operating system platforms. Universal paths are provided for the Windows command interpreter and UNIX shells.

On UNIX operating systems, you can modify the .profile or the .login file, so that the shell script is sourced (activated) each time you log on to your system. Alternatively, you can activate the file for an individual terminal, user, and session by sourcing the file into the current environment.

To view the universal paths that are defined, read the nnm.envvars.sh file, which resides in /opt/OV/bin on UNIX operating systems or %NnmInstallDir%\bin on Windows operating systems.

EXAMPLES

To modify the .profile or .login file, add the appropriate line from the following examples to the file.

To source the nnm.envvars script, use one of the following commands.

  • From a Windows command line:

    %NnmInstallDir%\bin\nnm.envvars.bat

    Where: %NnmInstallDir% is the directory where NNMi is installed. Note that the NNMi installer creates this variable as a system environment variable.

  • From a Windows operating system with UNIX-style shells installed (for example, MKS Toolkit or CygWin):

    Using sh, ksh, or bash:

    $NnmInstallDir/bin/nnm.envvars.sh

    Where: $NnmInstallDir is the directory where NNMi is installed.

    Using csh:

    source $NnmInstallDir/bin/nnm.envvars.csh

    Where: $NnmInstallDir is the directory where NNMi is installed.

  • From UNIX operating systems:

    Using sh, ksh, or bash:

    . /opt/OV/bin/nnm.envvars.sh

    Using csh:

    source /opt/OV/bin/nnm.envvars.csh

AUTHOR

nnm.envvars was developed by Hewlett Packard Enterprise.

FILES

Windows operating systems:

%NnmInstallDir%\bin\nnm.envvars.bat (for Windows command line)

%NnmInstallDir%\bin\nnm.envvars.sh (for sh, ksh, or bash)

%NnmInstallDir%\bin\nnm.envvars.csh (for csh)

UNIX operating systems:

/opt/OV/bin/nnm.envvars.sh (for sh, ksh, or bash)

/opt/OV/bin/nnm.envvars.csh (for csh)

EXTERNAL INFLUENCES

International Code Set Support: Supports single-byte and multi-byte character code sets.

Return to Reference Pages Index