The [startup] section of the DP4 configuration file contains the list of programs started when the DP4 service is started up.
1=[priority][Type] program_name_1 command tails
2=[priority][Type] program_name_2 command tails
3=[priority][Type] program_name_3 command tails
...
If no startup section is specified the startup section defaults to
1=dp4srvr.w32
Detailed information on the [startup] section of the DP4 configuration file, including details of the program types and priorities can be found here.
[preload]
1 = dp4srvr.w32
2 = *dbrecov -db dbname
3 = *dbcheck -db dbname -check -batch
[startup]
1 = tcpw.w32 -multiple -server 80
2 = dp4srvr.w32 -aux
3 = tcpmgr.w32 -server 80 -aux
4 = auxdistr.w32 -server 80 -use 80
It is necessary to start DP4SRVR as shown in the preload section, because it is not auto-loaded; note that it is unnecessary (and you are recommended not) to use SHUTDOWN to stop the stand-alone database manager at the end of the [preload] section before re-loading it with the networking components.
The loader program will look for different section names instead of [startup] and [preload] if it is started with the command tails
-startup startup_section_name
or
-preload preload_section_name
This allows the user to have multiple startup configurations in the DP4 configuration file and to select the one required without editing the file.
Consult Overview of DP4 Networking Configurations in the Guide to DP4 Networking and Resilience(netres.chm) for full information on the various DP4 networking configurations. Consult Loading an ADC in the ADC Developer's Guide for full information on loading DP4 ADCs.
The following instructions will load a simple DP4 networking configuration using TCP/IP
To define the machine as a DP4 requester, add a section called [startup] to the DP4 configuration file, for example:
[startup]
1=tcpw.w32 -server_name computer name
computer name must be a name that the ping command recognises and which corresponds to the machine to be used as the DP4 server.
To define the machine as a DP4 server, specify a [startup] section of this form:
[startup]
1=dp4srvr.w32
2=tcpmgr.w32