ACC Utilities Reference Guide

ZMASTERD - Daemon Monitoring Feature
Activate Option
Chapter 9 197
Activate Option
The activate directive is used to cause zmasterd to start a daemon, and to
monitor that daemon.
This can be used to restart a daemon that has been deactivated, or it can
be used to start a daemon that was not in the original zmasterd_list file.
The format of the command is:
% zmasterd act <daemon> ”<argument list>”
The given daemon will be started with the given argument list (Note that
unlike the argument list for the start statement in zmasterd_list, the
argument list for the act directive must be in “quotes”. If that daemon
terminates, it will then be restarted with this same parameter list. If the
daemon has a start entry in the zmasterd_list file, the start parameters
in that file will not be used again until zmasterd is run again with no
runstring parameters or with the cold <file> parameters.
The activate option can be used to start the monitoring of a daemon,
regardless of whether or not it is in the zmasterd_list file.
When the zmasterd stop command is run, it will only stop daemons that
are listed in the zmasterd_list stop statements. If a daemon is
“activated”, but is not listed in a stop statement, it will not be
terminated.
Note that zmon may not be activated. Zmasterd can only start zmon by
running zmasterd with no runstring parameters and having zmon listed
in the zmasterd_list file, or by running zmasterd with the cold <file>
parameters.