**************************************************************************** ****** ****** README.TXT ****** ****** This file contains the latest technical ****** details for this Entire System Server version. ****** **************************************************************************** Copyright (C) 1995 - 2024 Software GmbH, Darmstadt, Germany and/or its subsidiaries and/or its affiliates and/or their licensors. ============================================================================ Entire System Server Version 2.1.18 10 Sep 2024 ============================================================================ Version Entire System Server 2.1.18 =================================== Overview This file contains information about - installation notes - usage notes - known problems in this version For information about the installation process see the Installation Manual document. This file contains information for both UNIX and Windows. If nothing else is specified, the text applies for all operating systems. Notes for NPR 2.1.15.5 and above -------------------------------- - Linux (NPROS-366) The npretb program (if executing standalone) and the natnpr.so module (if executing in local mode) check the existence of the Linux (Unix) utility 'realpath' during startup or first usage. If 'realpath' was not found, they will terminate immediately. In this case, please find out, which package of your Linux distribution contains 'realpath', and install it. Notes for NPR 2.1.15.4 and above -------------------------------- - Linux (NPROS-360) Utility nprmgr: The command nprmgr stop service all will stop only NPR services, whose full executable paths match the path in the environment variable NPR_HOME. Example of command output: ... NPR4041 Handling NPR_HOME /opt/softwareag/EntireSystemServer ... NPR4024 Stopping services using NPR_HOME /opt/softwareag/EntireSystemServer NPR4011 NPR Service npr_pcsn02 - Stop in progress NPR3521 Executable: /opt/softwareag/EntireSystemServer/bin/npretb NPR4112 Stop Command set for NPR Service npr_pcsn02, PID 12230, using IPC Key 'aaaa0000' Notes for NPR 2.1.15.3 and above -------------------------------- - Windows (NPROS-356) Each Windows userid being used as JCL userid or submit userid must have the Windows right 'Logon as a batch job'. If a Windows userid does not have this right, Logons in batch (as being performed by the NOP and NOM Monitors) will fail. In NOP, the message NPR3418 User :1:: batch logon not granted will be shown and / or logged. You can set this right for Windows userids as follows: - With the Windows search function, search for the App 'Local Security Policy' (in German: 'Lokale Sicherheitsrichtlinie') and execute it in Administrator mode. - Go to Security Settings > Local Policies > User Rights Assignment - Open the properties of 'Logon as a batch job'. If necessary, add user(s) or group(s) to the list, so that the required user(s) will get the right. Notes for NPR 2.1.15.1 and above -------------------------------- - npr.ini: New parameter ETB_TIMEOUT. Please refer to the file npr.txt. Notes for NPR 2.1.11 and above ------------------------------ - npr.ini, Windows: Allow specification of EOR_WORK and EOR_NOM directories in each npr.ini section (NPROS-263) Previously this was possible for Unix only. For a description of the EOR_WORK and EOR_NOM parameters, please refer to the file npr.txt. - npr.ini: Parameter Open_File_Timeout (NPROS-271) If in npr.ini the parameter Open_File_Timeout=0 is set, or if Open_File_Timeout is missing, no 'open file timeout' checking will be performed by NPR. The default of 600 seconds is changed to zero (no check). - NPR / Unix local calls: Enable 60k buffer size (NPROS-272) Starting with NPR 2.1.11, the buffer type D (60k buffer size) is available. It is intended for NPR local calls. This is an extension for the programming interface only. Notes for NPR 2.1.9.03 and above -------------------------------- - NPR version information (NPROS-244) The NPR version information fields in the control block (structure) will not be filled anymore, and are obsolete. The NPR version can be obtained by a SERVER / INFO call only. After the call it is available in the field nprServerInfo.nprVersion8. Reason: For the upcoming NPR version 2.1.10 the old fields are too short. - Short fields disabled in structure fileAttr (used for FILE/GETATTR and FILE/SETATTR, NPROS-244) The fields fileUser8 and fileGroup8 are not supported anymore, because they were too short. Instead, the already existent fields fileUser20 and fileGroup20 must be used. - FILE/COPY,MOVE: Target file line limit (NPROS-246) For the copying or moving of text files, a line limit for the target file can be passed in the control block (structure) nprFileManagement. If a source file has more lines, the target file will be truncated, and terminated with the message === NPR3835 File contains more than 1000 records === (e.g. for a line limit = 1000) See also NOPALL-2854. Notes for NPR 2.1.8.02 and above -------------------------------- - FILE/WRITE: Empty record handling. (NPROS-207) If a record is empty, a record with one blank will be written. This shall avoid effects with empty records, as described in NOPALL-2645. Notes for NPR 2.1.8.01 and above -------------------------------- - Windows: Evaluation of %HOMEDRIVE%, %HOMEDIR% (WIN063) The variables %HOMEDRIVE%, %HOMEDIR% can be used e.g. in file names. They will be evaluated for the user ID of the current session, and have the same meaning as in Windows itself. See also the Windows 'set' command. Notes for NPR 2.1.7.01 and above -------------------------------- - Environment variables NPRDIR, NPRVERS (NPROS-146) NPR on Windows no longer checks or sets these environment variables. Please do not to use them in your coding, such as BAT files. - Unix, LDAP usage (NPROS-152) The binary npretb_ldap is being delivered with the same execution rights as npretb. If you need to use it instead of npretb, you may perform the commands cd $NPR_HOME/bin sudo mv npretb npretb_no_ldap sudo mv npretb_ldap npretb You may remove unused binaries from the bin directory, or decrease their execution rights. Additionally, please refer to the chapter "LDAP User Id Usage on Linux" below. The executable 'eorxcl' (cleanup utility for the work directory) is being delivered with high execution rights. If you decrease these rights in any way, files might not be removed from the $EOR_WORK directory or any directory below during cleanup. New for NPR 2.1.6.02 and above ------------------------------ - Windows NPR 2.1.6.02 and above are using the Microsoft MSVC 2013 runtime library. The runtime library will be packaged with the Windows fix installation. If necessary, please install the MSVC 2013 runtime library manually. - NPROS-115, NPROS-138 For the object FILE, functions READ, WRITE, APPEND, additionally a data buffer size of ca. 100 Kb is supported now. Due to the larger Broker buffers used by NPR, the EntireX Broker parameter MAX-MESSAGE-LENGTH (alias MAX-MSG) must be set to 120000 or greater. Otherwise, the Broker error 0020/0218 might occur. Please refer to the EntireX Broker documentation. MAX-MESSAGE-LENGTH can be set generally, and / or service-specific. Please also check the IUBL (LU size, TRANSFER_UNIT) parameter, where applicable. It should be set to at least 1024. Otherwise, the Broker error 0215/0152 might occur. - NPROS-134 With the Command nprmgr -v2 the NPR version will be written to standard output e.g. as 2.1 SP6 2.1 SP6 Fix2 npretb -v2 produces the same output. New for NPR 2.1.6.01 and above ------------------------------ - NPROS-132 Environment variable handling during NPR start: - NPR_HOME is a mandatory environment variable. It replaces ${NPRDIR}/${NPRVERS} . It must contain the name of an existing directory. - If NPRDIR is not set, it will be set to the value of NPR_HOME, and NPRVERS will be set to an empty string. These environment variables will be available in all jobs and commands started by NPR. The environment variable setting applies for both NPR on Unix and NPR on Windows. Note: NOP >= 542 CF2 will use NPR_HOME, if it detects a NPR version >= 216 CF1 (2.1.6.1). See NOPALL-2039, item 3. New for NPR 2.1.5.03 and above ------------------------------ - NPROS-120 Added parameter 'Open_File_Timeout' in the NPR INI file. * Open_File_Timeout= Default: 360 seconds (= 6 minutes) Description: NPR periodically checks for files opened by that process, which were not accessed during the last . Notes: - If NPR runs standalone (as a Broker service): NPR checks its internal file table and the file descriptors of its process. - If NPR runs in local mode: NPR checks its internal file table only. Any files opened by the calling process remain untouched (e.g. Natural workfiles). - Each forced file closure by timeout will be logged in NPR's trace file. Scope: Unix and Windows. New for NPR 2.1.5 and above --------------------------- - NPROS-94 SAG Installer adaptations - Location of the npr.ini file - The environment variable NPR_INI can be used to specify the fully qualified path of the npr.ini file. If it is defined, it will be used. - Unix: 1. The directory /opt/softwareag/EntireSystemServer is being checked for the npr.ini file. - Windows: 1. The directory %CommonProgramFiles%\Software AG\EntireSystemServer is being checked first for the npr.ini file. 2. (if not found) The directory %ALLUSERSPROFILE%\Software AG\Entire System Server is being checked next for the npr.ini file. - Unix and Windows: (if npr.ini is stll not found) The directory $NPRDIR/$NPRVERS/npr.ini is being checked for the npr.ini file. The environment variable NPRVERS may contain just a dot. If NPRVERS is missing, the directory $NPRDIR/npr.ini is being checked for the npr.ini file. - NPROS-97 nprwinservice (Windows only) The utilty nprwinservice has more functionality, mainly to support the SAG Installer. Usage nprwinservice /add using or nprwinservice /add [id ] path nprwinservice /delete [path ] nprwinservice /list [path ] nprwinservice /stop [path ] /add add Windows service for using the template or [with SAG Installer ID ] for the executable /delete delete Windows service for (service: wildcard possible) (optional: path prefix selection) /list list NPR Windows service(s) (service: wildcard possible) (optional: path prefix selection) /stop stop NPR Windows service(s) (service: wildcard possible) (optional: path prefix selection) (optional) SAG Installer ID. It will be appended in brackets to the Windows service name for uniqueness. If the file /EntireSystemServer/nprinstall.ini exists, and if is not specified, the Installer ID will be taken from there. New for NPR 2.1.4.15 and above ------------------------------ - NPROS-70 (Unix only) The npretb option -f is available again. If it is set, an existing npretb process using the same shared memory will be killed first. If it is not set, a duplicate npretb process will terminate itself with an error message in the NPR log file. See also: Option IPC_Prefix in the npr.ini file. New for NPR 2.1.4.13 and above ------------------------------ - The option -v is available for all executables. Unix example: npretb -v returns npretb - Version 2.1.4.13 (NPROS-63) - The USER / LOGIN handling for standalone and local nodes without corrected root rights. Accepts the user login will, if the UID and GID of the login are the same as the effective UID and GID of the node. Rejects the user login, if the UID or GID or both do not match. In this case, the error code 31 = NPR_NO_ROOT_RIGHTS is returned by USER / LOGIN. (NPROS-65) New for NPR 2.1.4.10 and above ------------------------------ - Microsoft Visual C++ Runtimes (Windows only) Starting with NPR 2.1.4.10, the Microsoft Visual C++ runtimes are required for NPR on 32 bit and 64 bit Windows. For the EntireX Broker library, additional previous Microsoft Visual C++ runtimes might be necessary. - Environment variable NPR_LOGDIR added (Starting with NPR 2.1.4.10) You can use the environment variable NPR_LOGDIR to specify the NPR log directory. If NPR_LOGDIR is not defined, the log files will be written to the directory $NPRDIR/log. - nprmgr logging nprmgr logs all actions now. The default log file is nprmgr.log. It will be written to the directory $NPRDIR/log or $NPR_LOGDIR (if specified). In the section [NPRMGR] you can specify the parameters Locale_String Command_Log_Level Trace_Level Log_File_Prefix Trace_File_Prefix for individual settings. - npr.ini: Server=localhost In the service section(s) of npr.ini, the definition Server=localhost can be used now. This definition indicates that the services are to be executed on the own machine (host). - Windows: allow 'localhost' as domain name (Windows only) For node logons on Windows machines, 'localhost' can be entered in the domain field. This will be replaced by the hostname of the node, and means a logon with a local (non-domain) userid. Notes on previous NPR versions ------------------------------ These notes should always be checked too. - Microsoft Visual C++ 2008 Runtime Installation leaves unnecessary Files (Windows only) Entire System Server on Windows requires the Microsoft Visual C++ 2008 Runtime. If it is not found on the system, it will be installed as part of the Entire System Server installation process. Microsoft's installation routine for the Microsoft Visual C++ 2008 Runtime contains a bug, by which temporary files are installed in the system root directory (or in the root directory of any other partition). The bug is described here: http://support.microsoft.com/kb/950683 Microsoft's resolution description: "These files are unnecessary and can be safely deleted from the system. The functioning of the runtime library will not be affected by this. It's a known bug, planned to be fixed in VS2008 SP1." - Location of npr.ini, log and trace files (Windows only) Starting with Entire System Server 2.1.3, some file locations were modified on Windows, due to the required separation of the program files and application data on Windows Vista. On Unix systems, the locations of npr.ini and log and trace files remain unchanged. - npr.ini file The npr.ini file is now searched first in the directory %ALLUSERSPROFILE%\All Users\Application Data\Software AG\Entire System Server resp. %ALLUSERSPROFILE%\All Users\Anwendungsdaten\Software AG\Entire System Server on Windows XP and similar systems, or in the directory %ProgramData%\Software AG\Entire System Server on Windows Vista and similar systems. If the npr.ini can not be found at the new location, it will be searched at the old location %NPRDIR%\%NPRVERS in a second attempt. However, we recommend moving existing npr.ini files to the new location. - Log and trace files Log and trace files will be stored in a subdirectory named 'Log' under the directory mentioned above. You can choose a different log directory for the log and trace files, by setting the environment variable NPR_LOGDIR. See note above. - Usage of .kshrc (UNIX only) This note applies to the following case: - In the Korn shell (ksh), the environment variable ENV is set and contains the name of an environment file (e.g. .kshrc). In this case, it MUST be avoided that such an environment file sends any output to stdout, when executed from Entire System Server. When a process is started by Entire System Server, the environment variable NPR_PARENT will contain 'y'. This can be used to control the output of a .kshrc file. Example for a .kshrc file, which is compliant to Entire System Server: if [ "$NPR_PARENT" != "y" ]; then echo "executing .kshrc" fi export VAR=value ... if [ "$NPR_PARENT" != "y" ]; then echo ".kshrc done" fi - File existence test during startup The following files and directories are tested for existence during the startup of the Entire System Server: directory $NPRDIR/$NPRVERS directory $NPRDIR/$NPRVERS/work directory $NPRDIR/$NPRVERS/bin file $NPRDIR/$NPRVERS/bin/eorxcl (UNIX only) file $NPRDIR/$NPRVERS/bin/eorxcl.exe (Windows only) file $NPRDIR/$NPRVERS/bin/eortime.exe (Windows only) If one or more of these files or directories is missing, starting Entire System Server will result in an error message. - Entire Broker shared libraries (UNIX), Entire Broker DLLs (Windows) Starting with Entire System Server 2.1.1.15, the necessary Entire Broker shared libraries resp. DLLs are being delivered and installed with Entire System Server. The required shared libraries resp. DLLs will be installed into $NPRDIR/$NPRVERS/lib (UNIX) %NPRDIR%\%NPRVERS%\bin (Windows) The EntireX Broker is no prerequisite for Entire System Server anymore. Unix only: Please note a modification in the 'startnpr' script. The environment variables ETBLNK and ETBLMOD are modified, so that they contain the complete file name of the locally installed Broker shared library. Existing or future installations of the EntireX Broker will not be disturbed by these local Broker modules. - New parameters in npr.ini; modified parameter behaviour - Starting with NPR 2.1.2.10, the keyword 'Server' replaces 'Local_node' in npr.ini. For compatibility, 'Local_node' can still be used. - Starting with NPR 2.1.2.10, the parameter 'Server_Local' was added. This parameter is relevant for nprmgr only. For a description of 'Server_Local', please refer to the file npr.txt. 'Server_Local' can not be overridden from the [DEFAULTS] section. It must be defined specifically for the service. - Starting with NPR 2.1.2.10, the parameter 'IPC_Prefix' can no longer be overridden from the [DEFAULTS] section. It must be defined specifically for the service. - Log and Trace settings for Local Nodes (Starting with NPR 2.1.2.15) To allow different log and trace settings for several local NPR nodes, the new environment variable NPR_LOCAL_SECTION will be examined. If it is set, and if the defined section exists in npr.ini, the settings from the local node will be taken 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 ... - nprmgr Startup Script (UNIX only) (Starting with NPR 2.1.3.3) The nprmgr binary was renamed to nprmgr.bin. nprmgr is a script now. It can be edited and adapted to suit the installation. The invocation of nprmgr is the same as before. The nprmgr script passes all its parameters to nprmgr.bin - Directory Structure (UNIX only) (Starting with NPR 2.1.3.3) To use a version-independent npr.ini file, proceed as follows: - Move npr.ini to ${NPRDIR} - Add to your startup scripts (startnpr and nprmgr): NPR_INI=${NPRDIR}/npr.ini export NPR_INI (Starting with NPR 2.1.4) - The script 'startnpr' was moved from $NPRDIR/$NPRVERS to $NPRDIR/$NPRVERS/bin. - The directory $NPRDIR/$NPRVERS/work will no longer be used for logging. Instead, the directory $NPRDIR/log will be used for logging. If it does not exist, it will be created automatically. - Message text files are no longer required (Starting with NPR 2.1.4) The message text files msg01.txt and msg02.txt are not used anymore. Instead, the message texts are incorporated into the NPR library module (libnpr.so resp. libnpr.dll). - File writing, empty lines (Starting with NPR 2.1.4) Empty lines will be written with one blank, followed by LF resp. CR,LF. This is to prevent read errors of programs that expect blank lines as parameters. - Automatic start of NPR service(s) (SuSE Linux only) (Starting with NPR 2.1.4) On Linux systems, the script sag1npr will be installed into the directory /etc/init.d . Please use the SuSE YaST runlevel editor to activate the script system startup. sag1npr should be executed in the run levels 3 and 5. In npr.ini, 'Autostart=yes' can be defined for each NPR service on the local host. nprmgr supports the commands display service autostart shows all services, which have 'Autostart=yes' defined. start service autostart starts all services, which have 'Autostart=yes' defined. stop service autostart stops all services, which have 'Autostart=yes' defined. These commands can be used on all UNIX operating systems. Because the environment variables EOR_WORK and EOR_NOM are not available at the runlevel automatic startup, they must be defined in the [DEFAULTS] section of npr.ini for automatic startup. This means they are no longer version-dependent. - NOP work directories in user's home directories (Unix only) (Starting with NPR 2.1.4.1) NOP work files (scripts, sysout, etc.) can be stored alternatively in the directories $HOME/.eor_work for each NOP submit (execution) user ID. The utility eorxcl will clean up these directories too. The $EOR_WORK directory is still used but only for common purposes. NPR on Windows continues storing all NOP work files in the %EOR_WORK% directory. - LDAP libraries required (Linux only) (Starting with NPR 2.1.4.7; text changed for NPR 2.1.4.9) Due to the issue NPROS-32, the LDAP and LDAP-development packages must be installed as a prerequisite for NPR on a Linux system. On SuSE Linux, they are called 'OpenLDAP Client Libraries' and 'OpenLDAP devel'. In YaST resp. YaST2, please verify the availability of these libraries by searching for 'libldap'. - LDAP User Id Usage on Linux (x86 / x86_64) Platform For the proper usage of LDAP it may additionally be necessary to create links in /usr/lib (for 32bit) or /usr/lib64 (for 64bit). The list below shows the needed links for your platform: SUSE Linux Enterprise Server 10 (x86 / x86_64): ----------------------------------------------- 1) go to "/usr/lib" or "/usr/lib64" according to your machine 2) check which is the highest available "OpenLDAP" version; this can be done by "ls *ldap*" 3) create the following symbolic links: - libldap.so.199 --> libldap - liblber.so.199 --> liblber (e.g. "ln -s libldap-2.3.so.0 libldap.so.199") Red Hat Enterprise Linux 5 (x86 / x86_64): ------------------------------------------ 1) go to "/usr/lib" or "/usr/lib64" according to your machine 2) check which is the highest available "OpenLDAP" version; this can be done by "ls *ldap*" 3) create the following links: - libldap.so.199 --> libldap - liblber.so.199 --> liblber (e.g. "ln -s libldap-2.3.so.0 libldap.so.199") 4) check which is the highest available "OpenSSL" version; this can be done by "ls *ssl*" 5) create the following symbolic links: - libssl.so.0.9.7 --> libssl - libcrypto.so.0.9.7 --> libcrypto SUSE Linux Enterprise Server 11 (x86 / x86_64): ----------------------------------------------- 1) go to "/usr/lib" or "/usr/lib64" according to your machine 2) check which is the highest available "OpenLDAP" version; this can be done by "ls *ldap*" 3) create the following symbolic links: - libldap-2.3.so.0 --> libldap - libldap-2.3.so.0 --> liblber (e.g. "ln -s libldap-2.4.so.0 libldap-2.3.so.0") If NPR should be used as local node (natnpr.so) these additional steps are necessary: 1) go to $NATDIR/$NATVERS/bin/build 2) edit "Makefile" 3) search for "LFLAGS1 = " 4) add "-Wl,--whole-archive -lldap -Wl,--no-whole-archive" to LFLAGS1 (e.g. FLAGS1 = -Wl,--whole-archive -lldap -Wl,--no-whole-archive -pthread -export-dynamic ... ) 5) relink a new natural nucleus === end of readme file ===