The information contained in the npr.ini file is used to define the behavior of a server process. This document covers the following topics:
The npr.ini file is structured in a single or multiple sections:
A DEFAULTS section is used to define default values for the [<NPR
identifer>] sections. Any item defined in the DEFAULTS section can also be
defined in any <NPR identifier> section. It an item is not defined in
such a section, the definition of the DEFAULTS section is being used. Note that
this does not hold for parameters such as Server_Local
or IPC_Prefix
which are specific to a particular
section and have no default.
For each NPR service provided on a given machine, one [<NPR identifer>] section is to be defined. Additional sections can be defined for remote services (on other machines), so that they can be controlled by the nprmgr utility.
Local nodes are special NPR nodes which are invoked directly from a Natural session
on the same machine where the Natural session is executed;
without EntireX Broker communication.
To enable different log and trace settings for multiple local NPR
nodes, the environment variable NPR_LOCAL_SECTION
has to be set, and if the defined section exists in
npr.ini, the settings from the local node will be used
from that section. To use this feature, the variable
NPR_LOCAL_SECTION
is to be set before the
invocation of Natural for NOP online or Monitor or RPC server, example:
Shell script code:
NPR_LOCAL_SECTION=npr_local_1 export NPR_LOCAL_SECTION natural parm=... ...
npr.ini::
[npr_local_1] Log_File_Prefix=log_local_1 Trace_File_Prefix=trace_local_1 Trace_Level=100 Command_Log_Level=4 ... [npr_local_2] Log_File_Prefix=log_local_2 Trace_File_Prefix=trace_local_2 Trace_Level=0 Command_Log_Level=0 ...
The NPRMGR section is relevant for the utility nprmgr only. The following parameters can be specified in this section:
Locale_String
Command_Log_Level
Trace_Level
Log_File_Prefix
Trace_File_Prefix
Definition of file server drives within Entire System Server for Windows: The npr.ini file can have the optional section DRIVEMAP.
The definitions made here must match the settings that can be
retrieved with the Windows NET USE
command.
Each definition for a network drive consists of one line. A line must contain these 3 keyword parameters:
Example:
[DRIVEMAP] Local=G: Remote=\\sag-hq\temp Type=Microsoft Local=T: Remote=\\daefs01\sagtemp Type=NetWare
; Entire System Server ; Version 2.1.2 PL 0 ; (C) 2001, Software AG ; Entire System Server INI file ; This file has been customized during the installation process, ; but it is possible to modify this information at any time using ; any text editor available on the system [DEFAULTS] Local_node=<node name> Integration_Mechanism=ETB,<ETB id> ETB_Wait=30 ETB_Replica=no Log_File_Prefix=default Trace_Level=0 Trace_File_Prefix=trdef Command_Log_Level=0 IPC_Prefix=aaaa Administrator=sag [nprdemo] Local_node=DEMONODE Integration_Mechanism=ETB,ETB098 ETB_Wait=30 ETB_Replica=no Log_File_Prefix=nprdemo Trace_Level=10 Trace_File_Prefix=trdemo Command_Log_Level=0 IPC_Prefix=dddd
The following parameters are available:
Default | Description |
---|---|
localhost | Host name of the machine on which the NPR
service is executed. With Server=localhost the local machine can be
specified. This value is always converted to upper case before it is passed to
the Broker.
|
Notes:
Local node
sections, you can specify
Server=localhost
.
Default | Description | ||||||
---|---|---|---|---|---|---|---|
compare | Determines how nprmgr shall access the
service.
|
Note:
This keyword cannot be overridden from the [DEFAULTS] section.
It must be defined specifically for the service.
Default | Description |
---|---|
None | Integration mechanism. This item identifies the integration mechanism by the NPR server. EntireX Broker and UCI are supported as integration mechanisms. |
Examples for broker ID:
BKR034 | Standard definition. |
etb034:3800:TCP | Use TCP/IP, host ibm1, port 3800 (for EntireX TCP/IP communication) |
pcsn2:1958:SSL | Use SSL, host pcsn2, port 1958 (for EntireX SSL communication) |
Default | Description |
---|---|
30 | EntireX Broker timeout. |
Default | Description |
---|---|
no | Replica server option. Currently not supported. |
Default | Description |
---|---|
yes | If yes , the NPR service
checks first if a service with the same name is already registered at the
EntireX Broker. If this is the case, the second service will shut down
immediately. If no is specified, the duplicate check will not be
performed.
|
Default | Description |
---|---|
Default | Global log file prefix. This item identifies the prefix of the global log file that will be generated in the $NPR_HOME/work directory. |
Default | Description |
---|---|
0 | Trace level for server's trace file. 0 (zero) means: no trace. Values can range from 0 to 999. |
Default | Description |
---|---|
nprtrace | The trace output will be written to $NPR_HOME/work/file-name.log. |
Default | Description |
---|---|
0 |
Log data is written to the trace file. |
Default | Description |
---|---|
aaaa | Prefix for IPC resources. |
Note:
This parameter cannot be overridden in the [DEFAULTS] section. It
must be defined specifically for the service.
Default | Description | ||
---|---|---|---|
|
PAM user authorization method is used. | ||
|
The traditional authorization method is used. |
Note:
This parameter is meaningful only for UNIX-like operating systems
that allow PAM user authentication. The parameter can be set for local nodes,
too.
Default | Description |
---|---|
no | If yes,
Locale_String for the Broker equals the value
retrieved by the setlocale function. If no, no locale string is
passed to the Broker. If a string is defined, it will be passed unchanged to
the Broker. The maximum string length is 40 characters.
|
Note:
To enable communication of the utility nprmgr
with
EntireX Broker, this parameter must be specified in section
NPRMGR
.
Default | Description |
---|---|
none | If this parameter is set, SSL Broker communication will be used, and the given full qualified file name is taken as SSL certificate file. If this parameter is not set, SSL Broker communication will not be used. |
Note:
This parameter is required for SSL Broker communication
only.
Default | Description |
---|---|
none | User name to be used for Broker security.
This user ID is used for the Broker logon. The parameter
Broker_CPW
is required, too.
|
Note:
This parameter is required only if Broker security is used.
Otherwise, this parameter has no meaning.
Default | Description |
---|---|
none | If Broker security is used, the ciphered
password for the Broker logon must be specified here. To cipher a given
password, invoke the utility nprpwc which prompts for a password
and returns the ciphered password. Invoke nprpwc
in a command shell.
|
Note:
This parameter is required only if Broker security is
used.
Default | Description |
---|---|
none | User name that has privileges over the
server process. The parameter
Admin_CPW
is required, too.
|
Note:
This parameter is required for some nprmgr
functions
in non-interactive mode.
Default | Description |
---|---|
none | Group to be used for the administrator. |
Note:
This parameter is required for some nprmgr
functions
in non-interactive mode.
Default | Description |
---|---|
none | Ciphered password for the administrator.
To cipher a given password, invoke the utility nprpwc which
prompts for a password and returns the ciphered password. Invoke nprpwc in a command shell.
|
Note:
This parameter is required for some nprmgr
functions
in non-interactive mode.
Default | Description |
---|---|
no | The NPR service is to be started automatically during system startup, if 'yes' is defined here. |
Note:
Available on Linux operating systems only.
Default | Description |
---|---|
none | The EOR (NOP) work directory can be defined here. |
Notes:
Default | Description |
---|---|
none | The EOR (NOM) work directory can be defined here. |
Notes:
EOR_NOM.
Default | Description |
---|---|
none | A default for the environment variable
ETBLNK can be defined here.
|
Notes:
ETBLNK
was not defined.
Default | Description |
---|---|
0 seconds (no timeout check) | Entire System Server periodically checks for files opened by the own process which were not accessed during the last seconds. |
Notes:
Before you start your product, it is recommended that you run (source) the sagenv.new script in the <install-dir>/bin directory. This sets the environment variables needed to run your product and other Software AG products.
Important:
The sagenv.new file is replaced with every
new installation. If you have set up your own environment settings file (for
example, with the name sagenv), replace only the modified
product-specific part in your existing sagenv
file.
Important:
It is recommended that you start a new shell before switching to a
different installation directory and running the
sagenv.new script (for example, when switching from the
directory for a test environment to the directory for a production
environment).