ACC Utilities Reference Guide

ZMASTERD - Daemon Monitoring Feature
Bringing Up the ACC Subsystem
Chapter 9192
Bringing Up the ACC Subsystem
The ACC Subsystem is brought up by running zmasterd with no
runstring parameters or with the cold <file> parameters. This causes
zmasterd to read the zmasterd_list and take the following actions:
1. Zmasterd checks to see if the zmasterd daemon is already running in
the system. If the zmasterd daemon is already active and zmon cold
has been scheduled successfully, the second invocation of zmasterd
will exit. If zmon cold has not been invoked, the second invocation of
zmasterd will behave like the first invocation of zmasterd (described
as follows).
2. Zmasterd will read the file /opt/acc/cfg/zmasterd_list, if it exists.
3. Zmasterd will start zmlog. If the zmasterd_list does not exist, or if it
exists and zmlog is not listed in a start statement, it will start zmlog
with no runstring parameters. If there is a start statement in the
zmasterd_list file, it will be started with the runstring parameters
given in the start statement.
4. If the zmasterd_list file does not exist or if the file exists and there is
no start statement for zmon and the cold <file> parameters are not
given in the command line, zmon cannot be started, which means
that the ACC Mux Subsystem cannot be started. Zmasterd will just
monitor zmlog. It will wait to be run with the stop, act, deact, cold
<file> parameters, or with no parameter (see 1 above).
If the zmasterd_list file does exist, and it does contain a start
statement for zmon, it will start zmon with the given parameter list.
However, the cold <file> parameters override the start statement for
zmon in zmasterd_list. If zmon does not start successfully, zmasterd
will not start any of the other daemons listed in the start statements
in zmasterd_list. Again, it will just monitor zmlog, and wait to be run
with the stop, act, deact, cold <file> parameters or no parameter.
If zmon can be started successfully, zmasterd can now begin starting
and monitoring the daemons listed in the start statements in
zmasterd_list.
5. Assuming that zmon has been successfully started, zmasterd will
start running the daemons that are listed in the start statements in
the zmasterd_list file. If any of the daemons are already running, an