bozo: Introduce bnode_Wait()
[openafs.git] / sect5 / prdb.DB0.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="prdb_DB05">
3   <refmeta>
4     <refentrytitle>prdb.DB0, prdb.DBSYS1</refentrytitle>
5     <manvolnum>5</manvolnum>
6   </refmeta>
7   <refnamediv>
8     <refname>prdb.DB0, prdb.DBSYS1</refname>
9     <refpurpose>Contain the Protection Database and associated log</refpurpose>
10   </refnamediv>
11   <refsect1>
12     <title>Description</title>
13     <para>The <replaceable>prdb.DB0</replaceable> file contains the Protection Database, which maps AFS
14     user, machine, and group names to their respective IDs (AFS UIDs and GIDs)
15     and tracks group memberships. The Protection Server (<emphasis role="bold">ptserver</emphasis> process)
16     uses the information in the database to help the File Server grant data
17     access to authorized users.</para>
18
19     <para>The <replaceable>prdb.DBSYS1</replaceable> file is a log file in which the Protection Server logs
20     each database operation before performing it.  When an operation is
21     interrupted, the Protection Server replays the log to complete the
22     operation.</para>
23
24     <para>Both files are in binary format and reside in the <replaceable>/usr/afs/db</replaceable> directory
25     on each of the cell's database server machines. When the Protection Server
26     starts or restarts on a given machine, it establishes a connection with
27     its peers and verifies that its copy of the database matches the copy on
28     the other database server machines. If not, the Protection Servers call on
29     AFS's distributed database technology, Ubik, to distribute to all of the
30     machines the copy of the database with the highest version number.</para>
31
32     <para>Always use the commands in the <emphasis role="bold">pts</emphasis> suite to administer the Protection
33     Database. It is advisable to create an archive copy of the database on a
34     regular basis, using a tool such as the UNIX <emphasis role="bold">tar</emphasis> command.</para>
35
36   </refsect1>
37   <refsect1>
38     <title>See Also</title>
39     <para><link linkend="prdb_check8">prdb_check(8)</link>,
40     <link linkend="pts1">pts(1)</link>,
41     <link linkend="ptserver8">ptserver(8)</link></para>
42
43   </refsect1>
44   <refsect1>
45     <title>Copyright</title>
46     <para>IBM Corporation 2000. &lt;http://www.ibm.com/&gt; All Rights Reserved.</para>
47
48     <para>This documentation is covered by the IBM Public License Version 1.0.  It was
49     converted from HTML to POD by software written by Chas Williams and Russ
50     Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>
51
52   </refsect1>
53 </refentry>