]> andersk Git - moira.git/blame - man/dcm.8
include access control info
[moira.git] / man / dcm.8
CommitLineData
5834a392 1.TH DCM 8 "30 Nov 1988" "Project Athena"
2\" RCSID: $Header$
3.SH NAME
4dcm \- build config files from SMS database and update servers
5.br
6startdcm \- start a dcm running, capturing log files
7.SH SYNOPSIS
8.B dcm
9[-d level]
10.br
11.B startdcm
12.SH DESCRIPTION
13The
14.B dcm
15must be run periodically on the SMS server. It is usually run every
1615 minutes by the
17.I cron
18daemon. Rather than invoke
19.B dcm
20directly, cron runs
21.B startdcm,
22which starts the dcm running in the proper working directory and
23captures logging messages.
24.PP
25The
26.B dcm
27may be disabled by the presence of the file
28.I /etc/nodcm
29or by setting the value of
30.I dcm_enable
31to zero in the SMS database. Debug mode may be enabled in the dcm by
32specifying an integer on the command line or by setting the
33environment variable
34.B DEBUG.
35The command line value will override the environment variable. Three
36bits are currently defined in the debug value: DBG_PLAIN = 01,
37DBG_VERBOSE = 02, DBG_TRACE = 04. Logging is done to standard output.
38If critical errors are detected, they are logged to
39.B /u1/sms/critical.log
40and in a zephyrgram to class
41.B SMS
42instance
43.B DCM
44in addition to standard output.
8d655ac7 45For the
46.B dcm
47to function properly,
48.I root
49must both be authorized to access each of the tables by RTI Ingres,
50and on the query acls for each of the queries the
51.B dcm
52will execute.
53.PP
5834a392 54For the actual generation of config files, the
55.B dcm
56will for off generator programs of the form
57.B /u1/sms/bin/\fIservice\fB.gen.
58Each generator takes as an argument the name of the output file to
59produce. Many of them also require working directories in
60.B /u1/sms/dcm/\fIservice\fB.
61A generator exits with a status code defined in
62.I <sms_et.h>.
63In particular,
64.B SMS_NO_CHANGE
65is a common exit status if the database hasn't changed since the last
66time this generator was run.
67.PP
68.B startdcm
69sets its working directory to the root, disconnects from the terminal
70and puts itself in the background. It then starts
71.B /u1/sms/bin/dcm,
72and will capture lines the dcm writes to standard output and log them
73in
74.B /u1/sms/dcm.log
75along with a timestamp.
76.B startdcm
77will also log the exit status of the
78.B dcm
79if it is non-zero.
80.SH FILES
81/u1/sms/dcm.log
82.br
83/u1/sms/critical.log
84.br
85/u1/sms/dcm/locks/* \- empty files will be created here for advisory locks.
86.br
87/u1/sms/bin/*.gen \- service file generators will be searched for
88here.
89.br
34e7a903 90/tmp/tkt_dcm \- temporary Kerberos ticket storage.
91.br
92/etc/srvtab \- The dcm must be able to get Kerberos tickets for "sms"
93(null instance).
5834a392 94.SH "SEE ALSO"
95The Project Athena Technical Plan section on SMS.
This page took 0.056844 seconds and 5 git commands to generate.