5.3.2 Starting Jobs Without the Dispatcher
Clients who use multiple services to run jobs for one OFSBD database must run the jobs without dispatcher processes. If the client does use dispatchers on each machine, each dispatcher may run each job, which causes duplicate detection results.
To run a job template without a dispatcher, add the parameter
-nd to the command line after the template ID, as
follows:
start_mantas.sh <template id> -nd
Doing so causes the start_mantas.sh script to execute all jobs in the
template, rather than depending on the dispatcher to run them. The jobs in the template
group run in parallel.
The dispatcher can ensure that it is only running a set number of max
jobs at any given time (so if the max is set to 10 and a template has 20 jobs associated
to it, only 10 run simultaneously). When running without the dispatcher, you must ensure
that the number of jobs running do not overload the system. In the event a job run dies
unexpectedly (that is, not through a caught exception but rather a fatal signal), you
must manually verify whether any jobs are in the RUN state but do not have a MANTAS
process still running, which would mean that the job threw a signal. You must update the
status code to ERR to restart the job.
To start a new job in Behavior Detection Framework without the
dispatcher, follow these steps: