The Configuration File 'asinit.cfg'

enaio® 9.10 »

The configuration file asinit.cfg contains the connection data for the enaio® server. During installation, the file is installed in each client directory with the connection data entered. Generally it does not need to be modified.

If clients should connect to different servers when starting, such as a test system or a production system, or if multiple servers are installed in a group or multiple server groups, then the configuration file asinit.cfg must be adapted accordingly.

The client cache directory can also be specified.

An example of a configuration file for connecting to a server:

[ARCHIV]

 

COMSTRING=<ip>#<port>

Computer name or IP address of the computer on which the enaio® server is installed and the port; and the cluster address in the event of clusters.

COMMODULE=axavapps.dll

Preset entry for all configurations

[REGISTRATION]

Area for modules to register when starting

MODULE0=oxvbscript.dll
MODULE1=axaddxmltree.dll  
MODULE2= …

The modules are entered automatically according to the installation options.

If no registration is necessary when starting, the following can be entered in the [ARCHIV] area:

NOREGISTER=1

Optionally the [CLIENT] area can be added with the following entries:

[CLIENT]

 

OSTEMP=

The 'OSTEMP' directory for temporary data is created within the user-specific temporary directory by default.

Example:

C:\Users\<User>\AppData\Local\Temp\

You can enter a different directory.

MAXREQUESTTHREADS=

The number of threads or database connections can only be entered when authorized by the support or consulting team.

Entries apply to enaio® client only.

MAXPOOLEDDBCONNECTIONS= 

 

Example of a configuration file for connecting to different servers via a selection dialog:

[ARCHIV]

 

COMSTRING=<ip>#<port>

Default server for the selection dialog

[SERVER]

Area for the available servers

SERVER0=<ip>#<port> Produktiv
SERVER1=<ip>#<port> Test

Sequentially numbered list of servers. A label, which is also shown in the selection dialog, can be attached.

 

Example of a configuration file for connecting to a server from a server group:

[ARCHIV]

 

COMSTRING=GRUPPE

Entry of any group label; the group may not be labeled with 'SERVER.'

[GRUPPE]

Area for the available servers in the server group.

SERVER0=<ip>#<port>,<Wahrscheinlichkeit>
SERVER1=<ip>#<port>,<Wahrscheinlichkeit>

Sequentially numbered list of servers in the group with connection probability as a percentage.

 

Example of a configuration file for connecting to one of multiple server groups using a selection dialog:

[ARCHIV]

 

COMSTRING=GRUPPE_A

Default server group for the selection dialog.

[SERVER]

Section for the available server groups

SERVER0=GRUPPE_A

SERVER1=GRUPPE_B

Sequentially numbered list of server groups. An area is created for each server group.

[GRUPPE_A]

 

SERVER0=<ip>#<port>,<Wahrscheinlichkeit>
SERVER1=<ip>#<port>,<Wahrscheinlichkeit>

Sequentially numbered list of servers in the group with connection probability as a percentage.

[GRUPPE_B]

 

SERVER0=<ip>#<port>,<Wahrscheinlichkeit>
SERVER1=<ip>#<port>,<Wahrscheinlichkeit>

Sequentially numbered list of servers in the group with connection probability as a percentage.

 

Client cache directory:

Example:

[CLIENT]
OSTEMP=%LOCALAPPDATA%\enaio\tmp

The default directory is: %LOCALAPPDATA%\Temp\OSTEMP