fsbnode-rename-unused-to-dummy-20090604
[openafs.git] / src / WINNT / doc / install / Documentation / en_US / html / CmdRef / auarf227.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3190/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 5 Nov 1999 at 13:58:29                -->
7 <META HTTP-EQUIV="updated" CONTENT="Fri, 05 Nov 1999 13:58:29">
8 <META HTTP-EQUIV="review" CONTENT="Sun, 05 Nov 2000 13:58:29">
9 <META HTTP-EQUIV="expires" CONTENT="Mon, 05 Nov 2001 13:58: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="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> 
17 <P>
18 <H2><A NAME="HDRPTSERVER" HREF="auarf002.htm#ToC_241">ptserver</A></H2>
19 <A NAME="IDX5417"></A>
20 <A NAME="IDX5418"></A>
21 <A NAME="IDX5419"></A>
22 <A NAME="IDX5420"></A>
23 <A NAME="IDX5421"></A>
24 <P><STRONG>Purpose</STRONG>
25 <P>Initializes the Protection Server
26 <P><STRONG>Synopsis</STRONG>
27 <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>] 
28          [<B>-enable_peer_stats</B>]  [<B>-enable_process_stats</B>]  [<B>-help</B>]
29 </PRE>
30 <P>This command does not use the syntax conventions of the AFS command
31 suites. Provide the command name and all option names in full.
32 <P><STRONG>Description</STRONG>
33 <P>The <B>ptserver</B> command initializes the Protection Server, which
34 must run on every database server machine. In the conventional
35 configuration, its binary file is located in the <B>/usr/afs/bin</B>
36 directory on a file server machine.
37 <P>The <B>ptserver</B> command is not normally issued at the command shell
38 prompt, but rather placed into a database server machine&#39;s
39 <B>/usr/afs/local/BosConfig</B> file with the <B>bos create</B>
40 command. If it is ever issued at the command shell prompt, the issuer
41 must be logged onto a file server machine as the local superuser
42 <B>root</B>.
43 <P>The Protection Server performs the following tasks&#58;
44 <UL>
45 <P><LI>Maintains the Protection Database, which contains entries for every user
46 and group in the cell. Use the <B>pts</B> commands to administer
47 the database.
48 <P><LI>Allocates AFS IDs for new user, machine and group entries and maps each ID
49 to the corresponding name.
50 <P><LI>Generates a current protection subgroup (CPS) at the File Server&#39;s
51 request. The CPS lists all groups to which a user or machine
52 belongs.
53 </UL>
54 <P><STRONG>Options</STRONG>
55 <DL>
56 <P><DT><B>-database
57 </B><DD>Specifies the pathname of an alternate directory in which the Protection
58 Database files reside. Provide the complete pathname, ending in the
59 base filename to which the <B>.DB0</B> and
60 <B>.DBSYS1</B> extensions are appended. For example, the
61 appropriate value for the default database files is
62 <B>/usr/afs/db/prdb</B>.
63 <P><DT><B>-p
64 </B><DD>Sets the number of server lightweight processes (LWPs) to run.
65 Provide a positive integer from the range <B>3</B> to
66 <B>16</B>. The default value is 3.
67 <P><DT><B>-rebuildDB
68 </B><DD>Rebuilds the Protection Database at the beginning of Protection Server
69 initialization. Use this argument only in consultation with AFS
70 Development or Product Support.
71 <P><DT><B>-enable_peer_stats
72 </B><DD>Activates the collection of Rx statistics and allocates memory for their
73 storage. For each connection with a specific UDP port on another
74 machine, a separate record is kept for each type of RPC (FetchFile, GetStatus,
75 and so on) sent or received. To display or otherwise access the
76 records, use the Rx Monitoring API.
77 <P><DT><B>-enable_process_stats
78 </B><DD>Activates the collection of Rx statistics and allocates memory for their
79 storage. A separate record is kept for each type of RPC (FetchFile,
80 GetStatus, and so on) sent or received, aggregated over all connections to
81 other machines. To display or otherwise access the records, use the Rx
82 Monitoring API.
83 <P><DT><B>-help
84 </B><DD>Prints the online help for this command. All other valid options
85 are ignored.
86 </DL>
87 <P><STRONG>Examples</STRONG>
88 <P>The following <B>bos create</B> command creates a <B>ptserver</B>
89 process on the machine <B>fs3.abc.com</B>. The
90 command appears here on multiple lines only for legibility.
91 <PRE>   % <B>bos create -server fs3.abc.com -instance ptserver</B>  \
92                 <B>-type simple -cmd /usr/afs/bin/ptserver</B>
93    
94 </PRE>
95 <P><STRONG>Privilege Required</STRONG>
96 <P>The issuer must be logged in as the superuser <B>root</B> on a file
97 server machine to issue the command at a command shell prompt. It is
98 conventional instead to create and start the process by issuing the <B>bos
99 create</B> command.
100 <P><STRONG>Related Information</STRONG>
101 <P><A HREF="auarf016.htm#HDRBOSCONFIG">BosConfig</A>
102 <P><A HREF="auarf047.htm#HDRPRDBDB">prdb.DB0 and prdb.DBSYS1</A>
103 <P><A HREF="auarf098.htm#HDRBOS_CREATE">bos create</A>
104 <P><A HREF="auarf102.htm#HDRBOS_GETLOG">bos getlog</A>
105 <P><A HREF="auarf210.htm#HDRPTS_INTRO">pts</A>
106 <P>
107 <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> 
108 <!-- Begin Footer Records  ========================================== -->
109 <P><HR><B> 
110 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
111 </B> 
112 <!-- End Footer Records  ============================================ -->
113 <A NAME="Bot_Of_Page"></A>
114 </BODY></HTML>