openafs/doc/html/AdminReference/auarf227.htm
Derrick Brashear d7da1acc31 initial-html-documentation-20010606
pull in all documentation from IBM
2001-06-06 19:09:07 +00:00

115 lines
6.2 KiB
HTML

<!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="auarf226.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="auarf228.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="HDRPTSERVER" HREF="auarf002.htm#ToC_241">ptserver</A></H2>
<A NAME="IDX5417"></A>
<A NAME="IDX5418"></A>
<A NAME="IDX5419"></A>
<A NAME="IDX5420"></A>
<A NAME="IDX5421"></A>
<P><STRONG>Purpose</STRONG>
<P>Initializes the Protection Server
<P><STRONG>Synopsis</STRONG>
<PRE><B>ptserver</B> [<B>-database</B> &lt;<VAR>db&nbsp;path</VAR>>] [<B>-p</B> &lt;<VAR>number&nbsp;of&nbsp;processes</VAR>>] [<B>-rebuildDB</B>]
[<B>-enable_peer_stats</B>] [<B>-enable_process_stats</B>] [<B>-help</B>]
</PRE>
<P>This command does not use the syntax conventions of the AFS command
suites. Provide the command name and all option names in full.
<P><STRONG>Description</STRONG>
<P>The <B>ptserver</B> command initializes the Protection Server, which
must run on every database server machine. In the conventional
configuration, its binary file is located in the <B>/usr/afs/bin</B>
directory on a file server machine.
<P>The <B>ptserver</B> command is not normally issued at the command shell
prompt, but rather placed into a database server machine's
<B>/usr/afs/local/BosConfig</B> file with the <B>bos create</B>
command. If it is ever issued at the command shell prompt, the issuer
must be logged onto a file server machine as the local superuser
<B>root</B>.
<P>The Protection Server performs the following tasks:
<UL>
<P><LI>Maintains the Protection Database, which contains entries for every user
and group in the cell. Use the <B>pts</B> commands to administer
the database.
<P><LI>Allocates AFS IDs for new user, machine and group entries and maps each ID
to the corresponding name.
<P><LI>Generates a current protection subgroup (CPS) at the File Server's
request. The CPS lists all groups to which a user or machine
belongs.
</UL>
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-database
</B><DD>Specifies the pathname of an alternate directory in which the Protection
Database files reside. Provide the complete pathname, ending in the
base filename to which the <B>.DB0</B> and
<B>.DBSYS1</B> extensions are appended. For example, the
appropriate value for the default database files is
<B>/usr/afs/db/prdb</B>.
<P><DT><B>-p
</B><DD>Sets the number of server lightweight processes (LWPs) to run.
Provide a positive integer from the range <B>3</B> to
<B>16</B>. The default value is 3.
<P><DT><B>-rebuildDB
</B><DD>Rebuilds the Protection Database at the beginning of Protection Server
initialization. Use this argument only in consultation with AFS
Development or Product Support.
<P><DT><B>-enable_peer_stats
</B><DD>Activates the collection of Rx statistics and allocates memory for their
storage. For each connection with a specific UDP port on another
machine, a separate record is kept for each type of RPC (FetchFile, GetStatus,
and so on) sent or received. To display or otherwise access the
records, use the Rx Monitoring API.
<P><DT><B>-enable_process_stats
</B><DD>Activates the collection of Rx statistics and allocates memory for their
storage. A separate record is kept for each type of RPC (FetchFile,
GetStatus, and so on) sent or received, aggregated over all connections to
other machines. To display or otherwise access the records, use the Rx
Monitoring API.
<P><DT><B>-help
</B><DD>Prints the online help for this command. All other valid options
are ignored.
</DL>
<P><STRONG>Examples</STRONG>
<P>The following <B>bos create</B> command creates a <B>ptserver</B>
process on the machine <B>fs3.abc.com</B>. The
command appears here on multiple lines only for legibility.
<PRE> % <B>bos create -server fs3.abc.com -instance ptserver</B> \
<B>-type simple -cmd /usr/afs/bin/ptserver</B>
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must be logged in as the superuser <B>root</B> on a file
server machine to issue the command at a command shell prompt. It is
conventional instead to create and start the process by issuing the <B>bos
create</B> command.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf016.htm#HDRBOSCONFIG">BosConfig</A>
<P><A HREF="auarf047.htm#HDRPRDBDB">prdb.DB0 and prdb.DBSYS1</A>
<P><A HREF="auarf098.htm#HDRBOS_CREATE">bos create</A>
<P><A HREF="auarf102.htm#HDRBOS_GETLOG">bos getlog</A>
<P><A HREF="auarf210.htm#HDRPTS_INTRO">pts</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="auarf226.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="auarf228.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>