ASAP 1.1 Hybrid Manual
HP NonStop ASAP Hybrid Manual – 529729-004
Page 3-6
Specifying the Configuration File Location
The server expects to find configuration information in the asap.conf file located
in the server’s program directory. However, you can change this location when
you run the server by using the –conf command line option. The –conf option
overrides the default server behavior and causes configuration data to be loaded
from the location you specify. The syntax for the option is:
-conf=<configuration file name>
where <configuration file name> is the fully qualified name of the configuration
file that the server should load. For example, if the configuration file is located at
/etc/asap/myasap.conf, the command to start the asapxserver process would
be:
./asapxserver –conf=/etc/asap/myasap.conf
Note that when a configuration file is specified via the –conf option, the
asap.conf file located in the server’s program directory is not loaded. The server
loads only the file defined via the –conf option; it does not load both the default
asap.conf file and the specified file.
The asap.conf Configuration File
The configuration file consists of several distinct sections, each with options
pertaining to a particular functional area.
Sections are denoted by a section name contained in square brackets: for
example, [Server]. The configuration file can contain any or all of these sections:
[Comm]
The [Comm] section contains settings related to communication with the
NonStop server.
[Logging]
The [Logging] section contains settings related to the server’s dedicated
logging mechanism. These settings affect the server’s logging mechanism
only and do not control what information is written to the Linux system log.
[Server]
The [Server] section contains settings related to general server operations.