Default values have been specified for most parameters. They can be changed if required. Parameters that must be adjusted to your system environment are written in red letters.
Structure of the INI File UCSRV.INI
Section/Parameter | Description |
---|---|
[GLOBAL] | |
system= | AE system name *) The name can consist of a maximum of 8 characters. Allowed are the upper-case letters A to Z, numbers and "_". System names must not contain the character "_" if you use a z/OS agent in combination with the SMF technique. By default, the job Includes convert "_" to "#". Should you intend to use "_" despite of this fact, you can bypass this situation by specifying the system name in the Event Monitor with "#". |
language= | The language in which the logging is processed. Entries for primary
and secondary language.
Allowed values: "E", "D", "F" If there is no log in the primary language, the system searches for a log in the secondary language. |
logging= | The path and the file name of the log file. Any file name for a text file with several place holders for current system information: $$ is
replaced by server process type (WP or CP). The following rules apply for log-file names if a database agent is used for variables and accesses this INI file (see section [DB_SERVICE] ): For relative path indications, the system uses the agent's installationnull directory when it creates the database agent's log file. |
logcount= | Number of the stored log file. |
helplib= | Name of the message file. |
helpcache= | Availability of the messages and language dependent strings.
Allowed values: "ALL" (default value), "NONE", "CONTROLS" "ALL" = The complete message file
is held in the RAM. |
StartMode= |
AE system startup mode. Allowed values: "NORMAL" (default value), "COLD" "NORMAL" = Normal AE start This parameter can also be handled via the ServiceManager Dialog. INI-file values are ignored in this case. |
snmp= |
SNMP connection. Allowed value: "0", "1", "2" An event is generated in the Winows Event Viewer's application log (additionally to the trap) if the Automation Engine is interrupted (trap 3410). This application log entry is even written if snmp=2 has been defined. |
nodename= |
The description of the dialog process environment. Default value: UC4_1 |
The mode of the primary work process (PWP). Allowed values: "1" and "0" (default value) "1" - The PWP processes only own messages.
This is only possible if a further work process is active. |
|
exception= |
Checks internal messages for valid contents. Allowed values: "0" and "1" (default value) "0" - Internal message check has been
deactivated. With this option being activated, messages that caused a server process crash are intercepted. Doing so protects your AE system because these messages cannot affect your server processes. Note that this setting can negatively affect performance on UNIX. |
SystemStop= |
Client handling after Server-process start. Allowed values: "NORMAL" (default value) and "YES" "NORMAL" - Client status remains unchanged. Note that the value "YES" overrides the settings that have been made in the key STARTUP_ACTION of the variable UC_CLIENT_SETTINGS. This parameter can also be handled via the ServiceManager Dialog. The value specified in the INI file is ignored in this case. |
[CPMsgTypes] |
|
srvquery= |
Performance optimization if many (several thousand) agents log on at the same time. Allowed values: "0" (default value) and "1" "0" - The primary work process responds
to the agents' live messages. |
[CACHE] |
|
script= | The maximum cache size (bytes) for script. |
vara= | The maximum cache size (bytes) for variables. |
mqmem= | The maximum cache size (in bytes) for the message queue. |
[TRACE] | |
file= | The path and the file name of the trace file. Any file name for a text file with several place holders for current system information: $$ is
replaced by server process type (WP or CP). |
trccount= | The number of stored trace files. |
tcp/ip= |
Trace flags of the Automation Engine.
Set trace flags only in close cooperation with Automic Support. |
[TCP/IP] | |
pwpport= | The port number of the primary work process. |
bindaddr= |
The IP address or host name for Server-process connection. Use this parameter if a connection should be established via a particular IP address (for example, the computer has more than one network interface card). All work processes including the primary work process must be bound to the same IP address. You can also specify the IP address or host name in pwpport= and in all parameters of section [PORTS] (Format: pwpport=IP address:port or DNS name:port). Specifications that have been made in bindaddr= are then ignored. |
bindlocal= |
Consideration of local host (127.0.0.1). Use this parameter together with bindaddr=. Allowed values: "0", "1" (default value) "0" - No listen socket is created. |
report= |
The time interval in seconds in which the Automation Engine saves the logging to the database. Default value: 20 seconds |
connect= | The time interval in seconds for reorganization of server process
links following a loss of connection.
Default value: 120 seconds |
chiffre= |
Encryption for transfer. Allowed values: "0", "1" (default value) "0" = Non-encrypted transfer.
|
retrywait= | The time intervals in seconds during which the server processes
attempt to get a free port number from the port list in [PORTS].
Format: (number, interval) number = Maximum number of
attempts that should be made in order to obtain a free port from the port list. |
retrywaitpwp= |
This parameter is exclusively used by work processes. They cyclically try to connect to primary-work-process port at system start or when the connection has been lost. Format: (number,
interval) number =
Maximum number of PWP connection attempts to the port. |
hostname= |
If you use this parameter, the UserInterfaces, CallAPIS and agents receive the information about the CPs that are known in the system via host name and port and not via the IP address and port during the CP selection phase while the connection to the Automation Engine is being established. In doing so, you can avoid firewall and other NATproblems. Set hostname=*OWN if you want the operating system to retrieve the host name on which the CP is running. |
alivetimeout= |
The duration in seconds in which the AE.Nonstop-Server expects a message from the primary work process. If this time span is exceeded, the AE.Nonstop-Server becomes the primary work process. Default value: 600 seconds Be careful when you change this parameter. The selected time span should be high enough because the primary work process is busy for quite some time if comprehensive database transactions take place and cannot send keep-alive messages. |
snmp= |
The port number that the Automation Engine uses in order to connect to the AE SNMP Subagent. Ensure that the same port number is specified in the AE SNMP Subagent's INI-file parameter stream_port=. |
snmpreconnect= |
The interval in seconds that the system needs in order to reconnect to the AE SNMP Subagent after a connection loss. Default value: 500 seconds |
listenqueue= |
The maximum number of login requests in the list queue. A request is stored in a list queue from the point in time that a component's login request is received until the login is acknowledged. This parameter can be used to determine the maximum number of requests that can be stored in the queue at the same time. Default value : 2030 |
maxMsgSize= |
Maximum length of messages (in bytes) that a CP (Server communication process) accepts. Default value: 3 145 728 (3 Mbytes) |
serverConnectionVerify= |
This checks whether the TCP/IP connection with a partner has been entered in the AE database table MQSRV and whether the IP address specified in the database complies with this connection's IP address. Allowed values: "0" (default), "1"
|
NetArea= |
The name of the net area of the server processes. Default value: Name of the AE system This value affects the CP selection of components such as agents. Note that only CPs can use different net areas. All an AE system's WPs must use the same NetArea definition. The name of the net areas is shown in the System Overviewof the server processes. |
tcp_nodelay= |
This defines the use of the Naqgle algorithm for the connections of the Automation Engine. Allowed values: "0" (recommended default value) and "1" "0" - This activates the Nagle algorithm. Set this parameter only in close cooperation with Automic Support. |
tcp_keepalive_time= |
The time interval in seconds in which keep-alive packets are sent in order to keep connections. The default value that depends on the system environment is used when you do not define this setting or when you define the value 0. Set this parameter only in close cooperation with Automic Support. |
SendBufferSize= |
The size of the TCP/IP input buffer for the messages that should be sent (in bytes). The default value that depends on the system environment is used when you do not define this setting or when you define the value 0. Set this parameter only in close cooperation with Automic Support. |
RecvBufferSize= |
The size of the TCP/IP input buffer for the message that should be received (in bytes). The default value that depends on the system environment is used when you do not define this setting or when you define the value 0. Set this parameter only in close cooperation with Automic Support. |
[PORTS] |
|
cp1= ... cpn= | Assignment of communication processes and port numbers.
The port number within an AE system must be explicit, even if the system is distributed over several computers. |
wp1= ... wpn= |
Assignment of work processes and port numbers. The port number within an AE system must be explicit, even if the system is distributed over several computers. |
[ODBC] | |
SQLDRIVERCONNECT= | Connection for the database.
ODBCVAR - Eight figure command field for controlling database accesses. 1. Position = N - Do not use server cursor. DSN - Alias name of the database connection. Only for MS SQL Server 2005: For example: SQLDRIVERCONNECT=ODBCVAR=NNNNNNRN,DSN=UC4;UID=uc4; Set the first digit of ODBCVAR to "S" if you do not use this option. Note that the native client of SQL Server 2005 must be used if MARS is applied. Create a new ODBC data source using the native client. MARS is a function that requires the SQL Server 2005 on client and server side. Only for
ORACLE: Syntax: RECONNECT refers to the frequency that should be used to re-establish the database connection. This parameter is given priority even if a "D" is specified in the 2nd digit of ODBCVAR (see above). For example: (Two lines are used for the connection parameters for reasons of space. In the INI file, you should only use one line). SQLDRIVERCONNECT=ODBCVAR=NNJNIORO,DSN=UC4;UID=uc4;PWD=--1037B2E22BF022EBE2; See also: Setting up ORACLE databases |
[DB_SERVICE] |
This section contains specific parameters for the database agent which starts in the mode for resolving variables. The agent's installation guide describes how the agent can be started. The parameter logging= can be used to specify the path and name of the log files for agent and server processes. Also refer to the specific notes which are provided in the section [GLOBAL]. Note that this INI file can only be used for database agents. Copy this configuration file in order to use several database agents for variables. |
cp= |
Address of the AE system's communication process to which the agent should connect. Allowed formats: |
name= |
Name of the database agent that should be used to resolve variables. The name of the agent computer (host name) is used if nothing has been defined. The agent name is limited to 32 characters. The following characters are allowed: (missing or bad snippet) A hyphen ( "-") can be used for the agent name in the configuration file for reasons of compatibility to former Automation Engine versions. Newly created agents must not include hyphens in their names. |
tcp/ip= |
Trace flags of the agent. Allowed values: "0" (default value) to "9" Set trace flags only in close cooperation with Automic Support. |
InitialPackage= |
Path and name of the file that contains the authentication package. When it starts, the agent reads this file and stores the information it includes in the file specified in the parameter KeyStore=. The original file is then deleted. |
KeyStore= | Path and name of the file that contains information about the authentication package (see InitialPackage=). |
connect= |
Time interval in seconds in which the agent attempts to establish connection to the Automation Engines. This affects the connection setup for a restart or after a lost connection. Default value: 60 seconds This parameter is only effective until the first
successful logon to the AE system. |
retention_time= | Number of seconds after which an unused database connection should be terminated. |
retry= |
Number of connection attempts to the database. The number that is specified in this parameter determines how often the agent attempts to connect to the database. After the nth failed attempt, the job ends with status ENDED_NOT_OK. The agent continues to connect to the database if this parameter has not been specified in the INI file. The job remains active until the database is available again or until it is canceled. |
OPTIMIZE= |
Database optimization, optimization means, that if you select data with a key, the db-service automatically optimizes the query to a new statement where the given key is part of the statement. If the query does not return any data or results in an error, the original query is executed. Allowed values: "0", "1" (default value) "0" - Database optimization off. |
Example of an INI File
[GLOBAL]
system=UC4
language=(E,D)
logging=..\TEMP\$$srv_log_*_##.txt
logcount=10
helplib=uc.msl
helpcache=ALL
StartMode=NORMAL
snmp=1
nodename=UC4_1
PrimaryMode=0
exception=1
SystemStop=NORMAL
[CPMsgTypes]
srvquery=0
[CACHE]
script=1000000
vara=100000
mqmem=1000000
[TRACE]
file=..\TEMP\$$srv_trc_*_##.txt
trccount=10
tcp/ip=
database=
trc03=
srcall=
memio=
jcl=
memsv=
snmp=
zuxml=
cache=
trc11=
ucds=
xscript=
uc4global=
trc15=
trc16=
[TCP/IP]
pwpport=2270
report=20
connect=120
retrywait=(5,60)
retrywaitpwp=(5,60)
alivetimeout=600
snmp=2200
snmpreconnect=500
listenqueue=2030
[PORTS]
cp1=2217
cp2=2218
wp1=2271
wp2=2272
wp3=2273
wp4=2274
wp5=2275
wp6=2276
wp7=2277
wp8=2278
wp9=2279
[ODBC]
; ODBCVAR xxxxxxxx
; |||||||+ type of SQL-Syntax N=SQL-SERVER O=ORACLE D=DB2 Z=DB2/OS390
; ||||||+- R=compress messages and local memory
; |||||+-- O = with userid, N = without userid
; ||||+--- I=OCI/CLI N=ODBC
; |||+---- not used
; ||+----- J = compare fieldnames case-insensitiv (in case of ORACLE !!)
; |+------ D = DB-Disconnect after 1000 commits (perhaps in case of Oracle memory leaks)
; +------- S = use Server-Cursor (SQL-SERVER)
;
; SNNNNNRN for SQL-Server 2000
; NNNNNNRN for SQL-Server 2005
; NNJNINRO for Oracle 8.x with OCI (Oracle Call Interface)
; NNJNIORD for DB2/NT/UNIX with CLI (Call Level Interface)
; NNJNIORZ for DB2/OS390 (7.1) with CLI (Call Level Interface)
; SQL-Server 2000 with ODBC
SQLDRIVERCONNECT=ODBCVAR=SNNNNNRN,DSN=UC4;UID=uc4;PWD=10BFDC349F38156A22
; SQL-Server 2005 with ODBC
;SQLDRIVERCONNECT=ODBCVAR=SNNNNNRN,DSN=UC4;UID=uc4;PWD=UC4
; SQL-Server 2005 with MARS
;SQLDRIVERCONNECT=ODBCVAR=NNNNNNRN,DSN=UC4;UID=uc4;PWD=UC4;Mars_Connection=Yes
; Oracle with OCI
;SQLDRIVERCONNECT=ODBCVAR=NNJNIORO,DSN=UC4;UID=scott;PWD=tiger
; DB2 with CLI
;SQLDRIVERCONNECT=ODBCVAR=NNJNIORD,DSN=UC4;UID=uc4;PWD=UC4
[DB_SERVICE]
name=SQLVAR_01
InitialPackage=
KeyStore=
connect=60
retention_time=60
retry=3
See also:
Notes for Configuration-File Adjustments