]> andersk Git - moira.git/blame - man/dcm.8
Command line printer manipulation client, and build goo.
[moira.git] / man / dcm.8
CommitLineData
5834a392 1.TH DCM 8 "30 Nov 1988" "Project Athena"
2\" RCSID: $Header$
3.SH NAME
7014af98 4dcm, startdcm \- build config files from Moira database and update servers
5834a392 5.SH SYNOPSIS
6.B dcm
ea0caf4a 7[servicename ...]
5834a392 8.br
9.B startdcm
10.SH DESCRIPTION
11The
12.B dcm
6e31bf9a 13must be run periodically on the Moira server. Rather than invoke
5834a392 14.B dcm
6e31bf9a 15directly, one generally runs
5834a392 16.B startdcm,
17which starts the dcm running in the proper working directory and
18captures logging messages.
19.PP
20The
21.B dcm
22may be disabled by the presence of the file
23.I /etc/nodcm
24or by setting the value of
25.I dcm_enable
6e31bf9a 26to zero in the Moira database. Logging is done to standard output.
5834a392 27If critical errors are detected, they are logged to
6e31bf9a 28.B /moira/critical.log
5834a392 29and in a zephyrgram to class
7014af98 30.B Moira
5834a392 31instance
32.B DCM
33in addition to standard output.
8d655ac7 34.PP
5834a392 35For the actual generation of config files, the
36.B dcm
7014af98 37will fork off generator programs of the form
6e31bf9a 38.B /moira/bin/\fIservice\fB.gen.
5834a392 39Each generator takes as an argument the name of the output file to
40produce. Many of them also require working directories in
6e31bf9a 41.B /moira/dcm/\fIservice\fB.
5834a392 42A generator exits with a status code defined in
7d37e1a9 43.I <mr_et.h>.
5834a392 44In particular,
7d37e1a9 45.B MR_NO_CHANGE
5834a392 46is a common exit status if the database hasn't changed since the last
47time this generator was run.
48.PP
49.B startdcm
50sets its working directory to the root, disconnects from the terminal
51and puts itself in the background. It then starts
6e31bf9a 52.B /moira/bin/dcm,
5834a392 53and will capture lines the dcm writes to standard output and log them
54in
6e31bf9a 55.B /moira/dcm.log
5834a392 56along with a timestamp.
57.B startdcm
58will also log the exit status of the
59.B dcm
60if it is non-zero.
61.SH FILES
6e31bf9a 62/moira/dcm.log
5834a392 63.br
6e31bf9a 64/moira/critical.log
5834a392 65.br
6e31bf9a 66/moira/bin/*.gen \- service file generators will be searched for
5834a392 67here.
68.br
34e7a903 69/tmp/tkt_dcm \- temporary Kerberos ticket storage.
70.br
6e31bf9a 71/etc/athena/srvtab \- The dcm must be able to get Kerberos tickets for "sms"
34e7a903 72(null instance).
5834a392 73.SH "SEE ALSO"
7014af98 74The Project Athena Technical Plan section on Moira.
ea0caf4a 75
This page took 0.114153 seconds and 5 git commands to generate.