ACC Utilities Reference Guide

216 Chapter10
ZMASTERD - Daemon Monitoring Feature
Bringing Up the ACC Subsystem
Bringing Up the ACC Subsystem
The ACC Subsystem is brought up by running zmasterd with no
runstring parameters or with the cold <file> parameters. T his 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,ifitexists.
3. Zmasterd will start zmlog.Ifthezmasterd_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
giveninthestart 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 s tarted. Zmasterd will just
monitor zmlog.Itwillwaittoberunwiththestop, 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.Ifzmon does not start successfully, zmasterd
will not start any of the other daemons listed in the st art statements
in zmasterd_list. Again, it will just monitor zmlog,andwaittoberun
with the stop, act, deact, cold <file> parameters or no parameter.
If zmon can be started successfully, zmasterd cannowbeginstarting
and monitoring the daemons listed in the start statements in
zmasterd_list.