openafs/doc/html/AdminReference/auarf019.htm

121 lines
6.9 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
<HTML><HEAD>
<TITLE>Administration Reference</TITLE>
<!-- Begin Header Records ========================================== -->
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
</HEAD><BODY>
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
<BODY bgcolor="ffffff">
<!-- End Header Records ============================================ -->
<A NAME="Top_Of_Page"></A>
<H1>Administration Reference</H1>
<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>
<P>
<H2><A NAME="HDRCLI_CSDB" HREF="auarf002.htm#ToC_17">CellServDB (client version)</A></H2>
<P><STRONG>Purpose</STRONG>
<A NAME="IDX3912"></A>
<A NAME="IDX3913"></A>
<A NAME="IDX3914"></A>
<A NAME="IDX3915"></A>
<A NAME="IDX3916"></A>
<A NAME="IDX3917"></A>
<A NAME="IDX3918"></A>
<A NAME="IDX3919"></A>
<P>Lists the database server machines in all cells accessible from the machine
<P><STRONG>Description</STRONG>
<P>The client version of the <B>CellServDB</B> file lists the database
server machines in the local cell and any foreign cell that is to be
accessible from the local client machine. Database server machines run
the Authentication Server, Backup Server, Protection Server, and Volume
Location (VL) Server (the <B>kaserver</B>, <B>buserver</B>,
<B>ptserver</B>, and <B>vlserver</B>) processes, which maintain the
cell's administrative AFS databases.
<P>The Cache Manager and other processes running on a client machine use the
list of a cell's database server machines when performing several common
functions, including:
<UL>
<P><LI>Fetching files. The Cache Manager contacts the VL Server to learn
the location of the volume containing a requested file or directory.
<P><LI>Authenticating users. Client-side authentication programs (such as
an AFS-modified login utility or the <B>klog</B> command interpreter)
contact the Authentication Server to obtain a server ticket, which the AFS
server processes accept as proof that the user is authenticated.
<P><LI>Creating protection groups. The <B>pts</B> command interpreter
contacts the Protection Server when users create protection groups or request
information from the Protection Database.
</UL>
<P>The Cache Manager reads the <B>CellServDB</B> file into kernel memory
as it initializes, and not again until the machine next reboots. To
enable users on the local machine to continue accessing the cell correctly,
update the file whenever a database server machine is added to or removed from
a cell. To update the kernel-resident list of database server machines
without rebooting, use the <B>fs newcell</B> command.
<P>The <B>CellServDB</B> file is in ASCII format and must reside in the
<B>/usr/vice/etc</B> directory on each AFS client machine. Use a
text editor to create and maintain it. Each cell's entry must have
the following format:
<UL>
<P><LI>The first line begins at the left margin with the greater-than character
(<B>></B>), followed immediately by the cell's name without an
intervening space. Optionally, a comment can follow any number of
spaces and a number sign (<B>#</B>), perhaps to identify the organization
associated with the cell.
<P><LI>Each subsequent line in the entry identifies one of the cell's
database server machines, with the indicated information in order:
<UL>
<P><LI>The database server machine's IP address in dotted-decimal
format.
<P><LI>One or more spaces.
<P><LI>A number sign (<B>#</B>), followed by the machine's fully
qualified hostname without an intervening space. This number sign does
not indicate that the hostname is a comment. It is a required
field.
</UL>
</UL>
<P>No extra blank lines or newline characters are allowed in the file, even
after the last entry. Their presence can prevent the Cache Manager from
reading the file into kernel memory, resulting in an error message.
<P>The AFS Product Support group maintains a list of the database server
machines in all cells that have registered themselves as receptive to access
from foreign cells. When a cell's administrators change its
database server machines, it is customary to register the change with the AFS
Product Support group for inclusion in this file. The file conforms to
the required <B>CellServDB</B> format, and so is a suitable basis for the
<B>CellServDB</B> file on a client machine. Contact the AFS Product
Support group for directions on accessing the file.
<P>The client version of the <B>CellServDB</B> file is distinct from the
server version, which resides in the <B>/usr/afs/etc</B> directory on each
AFS server machine. The client version lists the database server
machines in every AFS cell that the cell administrator wants the
machine's users to be able to access, whereas the server version lists
only the local cell's database server machines.
<P><STRONG>Examples</STRONG>
<P>The following example shows entries for two cells in a client
<B>CellServDB</B> file and illustrates the required format.
<PRE> >abc.com # ABC Corporation
192.12.105.2 #db1.abc.com
192.12.105.3 #db2.abc.com
192.12.107.3 #db3.abc.com
>test.abc.com # ABC Corporation Test Cell
192.12.108.57 #testdb1.abc.com
192.12.108.55 #testdb2.abc.com
</PRE>
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf020.htm#HDRSV_CSDB">CellServDB (server version)</A>
<P><A HREF="auarf154.htm#HDRFS_NEWCELL">fs newcell</A>
<P><A HREF="auarf200.htm#HDRKLOG">klog</A>
<P>
<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>
<!-- Begin Footer Records ========================================== -->
<P><HR><B>
<br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
</B>
<!-- End Footer Records ============================================ -->
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>