A.2 Other available environment variables
NNMi administrators access some NNMi file locations regularly. NNMi provides a script that sets up many environment variables for
navigating to commonly accessed locations.
To set up the extended list of NNMi environment variables, use a command similar to the following example:
-
Windows: C:\Program Files (x86)\Hitachi\Cm2NNMi\bin\nnm.envvars.bat
-
UNIX: . /opt/OV/bin/nnm.envvars.sh
A space must be inserted between the period (.) and the forward slash (/).
After you run the command for your operating system, you can use the NNMi environment variables shown in Table A-1 (Windows)
or Table A-2 (UNIX) to get to commonly used NNMi file locations.
Table A‒1: Environment variable default locations for the Windows operating system
Variable
|
Windows (example)
|
%NNM_BIN%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\bin
|
%NNM_CONF%
|
C:\ProgramData\Hitachi\Cm2NNMi\Conf
|
%NNM_DATA%
|
C:\ProgramData\Hitachi\Cm2NNMi
|
%NNM_DB%
|
C:\ProgramData\Hitachi\Cm2NNMi\shared\nnm\databases
|
%NNM_JAVA%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\nonOV\jdk\nnm\bin\java.exe
|
%NNM_JAVA_DIR%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\java
|
%NNM_JBOSS%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\nmsas
|
%NNM_JBOSS_DEPLOY%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\nmsas\server\nms\deploy
|
%NNM_JBOSS_LOG%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\nmsas\server\nms\log
|
%NNM_JBOSS_SERVERCONF%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\nmsas\server\nms
|
%NNM_JRE%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\nonOV\jdk\nnm
|
%NNM_LOG%
|
C:\ProgramData\Hitachi\Cm2NNMi\log
|
%NNM_LRF%
|
C:\ProgramData\Hitachi\Cm2NNMi\shared\nnm\lrf
|
%NNM_PRIV_LOG%
|
C:\ProgramData\Hitachi\Cm2NNMi\log
|
%NNM_PROPS%
|
C:\ProgramData\Hitachi\Cm2NNMi\shared\nnm\conf\props
|
%NNM_SHARED_CONF%
|
C:\ProgramData\Hitachi\Cm2NNMi\shared\nnm\conf
|
%NNM_SHARE_LOG%
|
C:\ProgramData\Hitachi\Cm2NNMi\log
|
%NNM_SNMP_MIBS%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\misc\nnm\snmp-mibs
|
%NNM_SUPPORT%
|
C:\Program Files (x86)\Hitachi\Cm2NNMi\support
|
%NNM_TMP%
|
C:\ProgramData\Hitachi\Cm2NNMi\tmp
|
%NNM_USER_SNMP_MIBS%
|
C:\ProgramData\Hitachi\Cm2NNMi\shared\nnm\user-snmp-mibs
|
%NNM_WWW%
|
C:\ProgramData\Hitachi\Cm2NNMi\shared\nnm\www
|
Table A‒2: Environment variable default locations for the UNIX operating system
Variable
|
HP-UX (example)
|
$NNM_BIN
|
/opt/OV/bin
|
$NNM_CONF
|
/var/opt/OV/conf
|
$NNM_DATA
|
/var/opt/OV
|
$NNM_DB
|
/var/opt/OV/shared/nnm/databases
|
$NNM_JAVA
|
/opt/OV/nonOV/jdk/nnm/bin/java
|
$NNM_JAVA_DIR
|
/opt/OV/java
|
$NNM_JBOSS
|
/opt/OV/nmsas
|
$NNM_JBOSS_DEPLOY
|
/opt/OV/nmsas/server/nms/deploy
|
$NNM_JBOSS_LOG
|
/opt/OV/nmsas/server/nms/log
|
$NNM_JBOSS_SERVERCONF
|
/opt/OV/nmsas/server/nms
|
$NNM_JRE
|
/opt/OV/nonOV/jdk/nnm
|
$NNM_LOG
|
/var/opt/OV/log
|
$NNM_LRF
|
/var/opt/OV/shared/nnm/lrf
|
$NNM_PRIV_LOG
|
/var/opt/OV/log
|
$NNM_PROPS
|
/var/opt/OV/shared/nnm/conf/props
|
$NNM_SHARED_CONF
|
/var/opt/OV/shared/nnm/conf
|
$NNM_SHARE_LOG
|
/var/opt/OV/log
|
$NNM_SNMP_MIBS
|
/opt/OV/misc/nnm/snmp-mibs
|
$NNM_SUPPORT
|
/opt/OV/support
|
$NNM_USER_SNMP_MIBS
|
/var/opt/OV/shared/nnm/user-snmp-mibs
|
$NNM_TMP
|
/var/opt/OV/tmp
|
$NNM_WWW
|
/var/opt/OV/shared/nnm/www
|
To Page Top