The Configuration File 'asinit.cfg'
The configuration file asinit.cfg contains the connection data for the enaio® server. During installation of enaio® client, the administrative components and enaio® capture are installed in each client directory. The file can be changed before installation or installed with the connection data using the command line parameter:
-
The 'SERVER#PORT' placeholder can be replaced by the connection data in the enclosed configuration file. The configuration file may contain other optional parameters. It is then installed as edited.
- If no changes are made, localhost#4000 is entered in the installed configuration file. The server and port must be added.
- The server and port can be entered via command line parameters during installation. The data is entered into the installed configuration file: msiexec.exe /i "C:\<installation>.msi" SERVER_IP=10.10.10.10 SERVER_PORT=4000
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. The default directory is: %LOCALAPPDATA%\Temp\OSTEMP 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 |
|
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. |
|
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] |
|
|
Sequentially numbered list of servers in the group with connection probability as a percentage. |
[GRUPPE_B] |
|
|
Sequentially numbered list of servers in the group with connection probability as a percentage. |