ContentsIndexPreviousNext

3.4.7 SERVER-START-port #

SERVER-START-port # is used on Windows NT or Windows 2000 servers only. It is used to start multiple instances of the acuconnect daemon on the server. This can be useful if there is substantial network traffic, and multiple instances of acuconnect would help distribute the processing load. It can also be useful for situations where you want different user groups to have different access privileges. (You can simply create multiple AcuAccess files, multiple "server.cfg" files, and then start multiple acuconnect daemons.)

Include a SERVER-START-port # variable for each instance of acuconnect that you want to start, over and above the primary instance. For port #, type the exact port number to be used for accessing acuconnect on the server. Follow
port # by the options that you want to use when starting acuconnect. These may be any options that can be specified after the "acuconnect -start" command. For example:

SERVER-START-6997  -l -e acuconnect.log -c \etc\server2.cfg
SERVER-START-6998  -l -e acuconnect2.log -c \etc\server3.cfg

Note that the "-f" option is ignored when used, because the service cannot run in the foreground.

The runtime looks for the SERVER-START-port # variable in the server configuration file (e.g., "server.cfg") in the directory:

<system-drive>\etc

where system-drive is the system disk where Windows NT or Windows 2000 resides. If the server configuration file cannot be found, or if this variable is not set, then the acuconnect service will be started with these options:

-l  -e  acuconnect.log

Any options that require a filename should provide a full pathname. Otherwise the runtime assumes they are located in <SystemRoot>\system 32, where SystemRoot is a system environment variable defined by Windows NT/2000. You can display its value by using this command:

echo %SystemRoot%