This document covers the following topics:
Entire System Server on UNIX is set up with the following steps
The following definitions must be included in the Entire Broker attribute file:
DEFAULTS=SERVICE TRANSLATION=SAGTCHA SERVER=<nodename> CLASS=NPR SERVICE=<npr_identifier>
where
<nodename> | is the identification of the node where the server is active. |
<npr identifier> | is the identification of the service name provided for the NPR server. |
Repeat these definitions for every NPR server specified in the
npr.ini file. For instance, if an NPR server is available
in the HP001
node with the service name nprdemo
, the
following definitions must be created:
DEFAULTS=SERVICE TRANSLATION=SAGTCHA SERVER=HP001 CLASS=NPR SERVICE=nprdemo
For installing Entire Broker, see the latest documentation.
To enable an Entire System Server (NPR) service to stop while the
TCP/IP connection to the Broker is down, the environment variable
ETB_TIMEOUT
is automatically set to 60 seconds by
NPRETB
and NPRMGR
.This avoids a hang of the broker
stub during a disconnected TCP/IP connection, and allows the stopping of
npretb
in such a situation. Note that ETB_TIMEOUT
remains unchanged if it was set before the execution of npretb
resp. nprmgr
.
The npr.ini file is used to define the behavior
of the server processes. It is structured in one [DEFAULTS]
section and one or more [<npr identifier>]
sections.
You can define settings either in the [DEFAULTS]
section or in an [<npr identifier>]
section:
The [DEFAULTS]
section contains default values that
apply to all servers. For a particular server such a default can be overwritten
by providing an [<npr identifier>]
section with an
alternative setting.
The [<npr identifier>] sections are optional, and can be created or modified later. They are used to define items specific to a certain server when these are different from default.
Any item defined in the [DEFAULTS] section can also be defined for each [<npr identifier>] section.
Any item defined in the [DEFAULTS] section can also be defined for each [<npr identifier>] section. If an item is not defined in this section, it is taken from the [DEFAULTS] section.
This section lists the relevant variables and valid values:
Default | Description |
---|---|
None | Default local node name. |
Default | Description |
---|---|
None |
Default integration mechanism. This item identifies the integration mechanism for establishing the communication between the client and the NPR server. Currently, only Entire Broker is supported as integration mechanism. Direct TCP/IP communication to the Entire Broker This requires the availability of an EntireX Broker stub on the machine where the NPR server is running. In this case, the following syntax is possible too: Integration_mechanism=ETB,<broker id>:<port number>:TCP Please refer to the EntireX Broker documentation for details about connections using TCP/IP. |
Default | Description |
---|---|
30 | Default Entire Broker timeout. |
Default | Description |
---|---|
No | Default replica server option. Currently not supported. |
Default | Description |
---|---|
Default | Default global log file prefix. This item identifies the prefix of the global log file that will be generated in the $NPRDIR/$NPRVERS/work directory. |
Default | Description |
---|---|
0 | Trace level for server's trace file. 0 (zero) means: no trace. |
Default | Description |
---|---|
Trace | Default global trace file prefix. This item identifies the prefix of the global trace file that will be generated in the $NPRDIR/$NPRVERS/work directory. |
Default | Description |
---|---|
0 | Sets different levels of NPR command
logging.
Possible Values
|
Default | Description |
---|---|
aaaa | Default prefix for IPC resources. Each character must origin of the range 0...9 or a...f. |
Default | Description |
---|---|
root | Default user authorized as administrator for Entire System Server. root is always authorized independently of the value specified here. |
; 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
See chapter Product Operation: Windows Service Usage.