Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod5 / prdb.DB0.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3prdb.DB0, prdb.DBSYS1 - Contain the Protection Database and associated log
4
5=head1 DESCRIPTION
6
7The F<prdb.DB0> file contains the Protection Database, which maps AFS
8user, machine, and group names to their respective IDs (AFS UIDs and GIDs)
9and tracks group memberships. The Protection Server (B<ptserver> process)
10uses the information in the database to help the File Server grant data
11access to authorized users.
12
13The F<prdb.DBSYS1> file is a log file in which the Protection Server logs
14each database operation before performing it. When an operation is
15interrupted, the Protection Server replays the log to complete the
16operation.
17
18Both files are in binary format and reside in the F</usr/afs/db> directory
19on each of the cell's database server machines. When the Protection Server
20starts or restarts on a given machine, it establishes a connection with
21its peers and verifies that its copy of the database matches the copy on
22the other database server machines. If not, the Protection Servers call on
23AFS's distributed database technology, Ubik, to distribute to all of the
24machines the copy of the database with the highest version number.
25
26Always use the commands in the B<pts> suite to administer the Protection
27Database. It is advisable to create an archive copy of the database on a
28regular basis, using a tool such as the UNIX B<tar> command.
29
30=head1 SEE ALSO
31
32L<prdb_check(8)>,
33L<pts(1)>,
34L<ptserver(8)>
35
36=head1 COPYRIGHT
37
38IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
39
40This documentation is covered by the IBM Public License Version 1.0. It was
41converted from HTML to POD by software written by Chas Williams and Russ
42Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.