vlserver-header-updates-20010711
[openafs.git] / doc / html / AdminReference / auarf019.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="auarf018.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="auarf020.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="HDRCLI_CSDB" HREF="auarf002.htm#ToC_17">CellServDB (client version)</A></H2>
19 <P><STRONG>Purpose</STRONG>
20 <A NAME="IDX3912"></A>
21 <A NAME="IDX3913"></A>
22 <A NAME="IDX3914"></A>
23 <A NAME="IDX3915"></A>
24 <A NAME="IDX3916"></A>
25 <A NAME="IDX3917"></A>
26 <A NAME="IDX3918"></A>
27 <A NAME="IDX3919"></A>
28 <P>Lists the database server machines in all cells accessible from the machine
29 <P><STRONG>Description</STRONG>
30 <P>The client version of the <B>CellServDB</B> file lists the database
31 server machines in the local cell and any foreign cell that is to be
32 accessible from the local client machine. Database server machines run
33 the Authentication Server, Backup Server, Protection Server, and Volume
34 Location (VL) Server (the <B>kaserver</B>, <B>buserver</B>,
35 <B>ptserver</B>, and <B>vlserver</B>) processes, which maintain the
36 cell's administrative AFS databases.
37 <P>The Cache Manager and other processes running on a client machine use the
38 list of a cell's database server machines when performing several common
39 functions, including:
40 <UL>
41 <P><LI>Fetching files. The Cache Manager contacts the VL Server to learn
42 the location of the volume containing a requested file or directory.
43 <P><LI>Authenticating users. Client-side authentication programs (such as
44 an AFS-modified login utility or the <B>klog</B> command interpreter)
45 contact the Authentication Server to obtain a server ticket, which the AFS
46 server processes accept as proof that the user is authenticated.
47 <P><LI>Creating protection groups. The <B>pts</B> command interpreter
48 contacts the Protection Server when users create protection groups or request
49 information from the Protection Database.
50 </UL>
51 <P>The Cache Manager reads the <B>CellServDB</B> file into kernel memory
52 as it initializes, and not again until the machine next reboots. To
53 enable users on the local machine to continue accessing the cell correctly,
54 update the file whenever a database server machine is added to or removed from
55 a cell. To update the kernel-resident list of database server machines
56 without rebooting, use the <B>fs newcell</B> command.
57 <P>The <B>CellServDB</B> file is in ASCII format and must reside in the
58 <B>/usr/vice/etc</B> directory on each AFS client machine. Use a
59 text editor to create and maintain it. Each cell's entry must have
60 the following format:
61 <UL>
62 <P><LI>The first line begins at the left margin with the greater-than character
63 (<B>></B>), followed immediately by the cell's name without an
64 intervening space. Optionally, a comment can follow any number of
65 spaces and a number sign (<B>#</B>), perhaps to identify the organization
66 associated with the cell.
67 <P><LI>Each subsequent line in the entry identifies one of the cell's
68 database server machines, with the indicated information in order: 
69 <UL>
70 <P><LI>The database server machine's IP address in dotted-decimal
71 format.
72 <P><LI>One or more spaces.
73 <P><LI>A number sign (<B>#</B>), followed by the machine's fully
74 qualified hostname without an intervening space. This number sign does
75 not indicate that the hostname is a comment. It is a required
76 field.
77 </UL>
78 </UL>
79 <P>No extra blank lines or newline characters are allowed in the file, even
80 after the last entry. Their presence can prevent the Cache Manager from
81 reading the file into kernel memory, resulting in an error message.
82 <P>The AFS Product Support group maintains a list of the database server
83 machines in all cells that have registered themselves as receptive to access
84 from foreign cells. When a cell's administrators change its
85 database server machines, it is customary to register the change with the AFS
86 Product Support group for inclusion in this file. The file conforms to
87 the required <B>CellServDB</B> format, and so is a suitable basis for the
88 <B>CellServDB</B> file on a client machine. Contact the AFS Product
89 Support group for directions on accessing the file.
90 <P>The client version of the <B>CellServDB</B> file is distinct from the
91 server version, which resides in the <B>/usr/afs/etc</B> directory on each
92 AFS server machine. The client version lists the database server
93 machines in every AFS cell that the cell administrator wants the
94 machine's users to be able to access, whereas the server version lists
95 only the local cell's database server machines.
96 <P><STRONG>Examples</STRONG>
97 <P>The following example shows entries for two cells in a client
98 <B>CellServDB</B> file and illustrates the required format.
99 <PRE>   >abc.com        # ABC Corporation
100    192.12.105.2         #db1.abc.com
101    192.12.105.3         #db2.abc.com
102    192.12.107.3         #db3.abc.com
103    >test.abc.com   # ABC Corporation Test Cell
104    192.12.108.57        #testdb1.abc.com
105    192.12.108.55        #testdb2.abc.com
106    
107 </PRE>
108 <P><STRONG>Related Information</STRONG>
109 <P><A HREF="auarf020.htm#HDRSV_CSDB">CellServDB (server version)</A>
110 <P><A HREF="auarf154.htm#HDRFS_NEWCELL">fs newcell</A>
111 <P><A HREF="auarf200.htm#HDRKLOG">klog</A>
112 <P>
113 <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="auarf018.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="auarf020.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> 
114 <!-- Begin Footer Records  ========================================== -->
115 <P><HR><B> 
116 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
117 </B> 
118 <!-- End Footer Records  ============================================ -->
119 <A NAME="Bot_Of_Page"></A>
120 </BODY></HTML>