8ffa0fbf3e639dbb28f4747c9dada19effb818dc
[openafs.git] / doc / html / AdminReference / auarf047.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf046.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf048.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P> 
17 <P>
18 <H2><A NAME="HDRPRDBDB" HREF="auarf002.htm#ToC_45">prdb.DB0 and prdb.DBSYS1</A></H2>
19 <P><STRONG>Purpose</STRONG>
20 <A NAME="IDX4018"></A>
21 <A NAME="IDX4019"></A>
22 <A NAME="IDX4020"></A>
23 <A NAME="IDX4021"></A>
24 <A NAME="IDX4022"></A>
25 <P>Contain the Protection Database and associated log
26 <P><STRONG>Description</STRONG>
27 <P>The <B>prdb.DB0</B> file contains the Protection Database, which
28 maps AFS user, machine, and group names to their respective IDs (AFS UIDs and
29 GIDs) and tracks group memberships. The Protection Server
30 (<B>ptserver</B> process) uses the information in the database to help the
31 File Server grant data access to authorized users.
32 <P>The <B>prdb.DBSYS1</B> file is a log file in which the
33 Protection Server logs each database operation before performing it.
34 When an operation is interrupted, the Protection Server replays the log to
35 complete the operation.
36 <P>Both files are in binary format and reside in the <B>/usr/afs/db</B>
37 directory on each of the cell's database server machines. When the
38 Protection Server starts or restarts on a given machine, it establishes a
39 connection with its peers and verifies that its copy of the database matches
40 the copy on the other database server machines. If not, the Protection
41 Servers call on AFS's distributed database technology, Ubik, to
42 distribute to all of the machines the copy of the database with the highest
43 version number.
44 <P>Always use the commands in the <B>pts</B> suite to administer the
45 Protection Database. It is advisable to create an archive copy of the
46 database on a regular basis, using a tool such as the UNIX <B>tar</B>
47 command.
48 <P><STRONG>Related Information</STRONG>
49 <P><A HREF="auarf209.htm#HDRPRDB_CHECK">prdb_check</A>
50 <P><A HREF="auarf210.htm#HDRPTS_INTRO">pts</A>
51 <P><A HREF="auarf227.htm#HDRPTSERVER">ptserver</A>
52 <P>
53 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf046.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf048.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P> 
54 <!-- Begin Footer Records  ========================================== -->
55 <P><HR><B> 
56 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
57 </B> 
58 <!-- End Footer Records  ============================================ -->
59 <A NAME="Bot_Of_Page"></A>
60 </BODY></HTML>