Daemon Parameters

This is where the daemons are set up. They are only available to Priority 9 users, and are usually set up by, or on advice from, a consultant.

Daemon Parameters Form

This form is accessed by selecting OPERATIONS MENU > General Utilities > ADP utilities > Daemon parameters. It enables you to check and amend daemon parameters.

Tip: Clicking the Next button displays the other daemon parameters form.

The daemon parameter file is keyed by daemon code and the parameters should be populated as follows:

Daemon code(DAEMON): Unique identifier for daemon configuration.

Description(DESC): Used as title within controller interface.

Daemon program(DMNPROG): Primary daemon program.

Daemon overlays_1-_8(DMNOVLAY): Associated overlay programs.

Foreground(FOREGRND): Can the daemon process be run in the foreground, that is, does it have its own debug interface? This determines the existence of the Foreground button within the controller interface.

Logfile path(LOGPATH): Location of log files and signal file.

Logfile path_1-2(SPLTPATH): The field is split for Rev 7.

Note: The stem of the value for LOGPATH and SPLTPATH equates to the BASE directory of the Autoline system. This can be established by checking the value of an environmental variable on any system, as follows:

  1. From the Autoline Master Menu, select System Utilities.

    The SYSTEM UTILITIES Menu is displayed.

  2. Select AutoPack Utilities.

    The AutoPack Utilities form is displayed.

  3. Select Edit UserEnv.txt.

    The Edit text file form is displayed. The value in quotes following "BASE" is the directory that should form the stem of the value in LOGPATH and SPLTPATH.

Log filename(LOGFILE): Name of log file to be suffixed with day of week mnemonic, and name of signal file to be suffixed with .sig

Signal Daemon(SIGNAL): Can the daemon process be signalled to halt, that is, does it check for the existence of a signal file, or is it self-terminating?

Daemon param name_1-8(DMNPNAME): Name of parameter to be passed in the format of key/value pairs from the daemon controller to the daemon program itself.

Daemon param data_1-8(DMNPDATA): Actual data to be passed in the format of key/value pairs from the daemon controller to the daemon program itself. (See also: Full daemon params field.)

PSTAT label(PSTAT): The $PSTAT field is used to name the daemon process and identify the daemon when it is running. It specifies the string of characters that appears in the system's Partition table to identify the option that is running on the server. (Access by means of the Display Users option from the System Utilities menu. When the daemon is executing an option defined by the daemon parameters, the PSTAT parameter value appears beneath the Message column of the Global Partition Status display in the grid row relating to the option while it is running.)

Full daemon params (PARAMS): This field is an alternative to the Daemon param data field, because the latter can only hold ten characters per field occurrence. When using the Full daemon params field, the daemon parameters should be separated with spaces. Sequence is not crucial, provided that parameters are correctly named. Prefix the parameters with a $.

Note: If this field is populated, it overrides the Daemon param name and Daemon param data fields.

Is multithreaded(THREADED): Y or N. When set to Y, both the controller thread and the helper threads are terminated when the daemon stops.

Should always run?(PERSDMN): Indicates whether the task involved is persistent, in other words if it should always be running on an Autoline system. The field should be set to Y in each parameters record for daemons where the task should permanently run on the system, and it causes an appropriate grid row to be displayed in the Start MS daemons window.

Related Topics:

Using the Standard Editors

Ad-hoc Enquiries

File Maintenance