3 ptserver - Initializes the Protection Server
10 B<ptserver> S<<< [B<-database> <I<db path>>] >>> S<<< [B<-p> <I<number of processes>>] >>>
11 [B<-rebuildDB>] [B<-enable_peer_stats>] [B<-enable_process_stats>]
12 [B<-allow-dotted-principal>] [B<-help>]
19 The B<ptserver> command initializes the Protection Server, which must run
20 on every database server machine. In the conventional configuration, its
21 binary file is located in the F</usr/afs/bin> directory on a file server
24 The ptserver command is not normally issued at the command shell prompt,
25 but rather placed into a database server machine's
26 F</usr/afs/local/BosConfig> file with the B<bos create> command. If it is
27 ever issued at the command shell prompt, the issuer must be logged onto a
28 file server machine as the local superuser C<root>.
30 The Protection Server performs the following tasks:
36 Maintains the Protection Database, which contains entries for every user
37 and group in the cell. Use the B<pts> commands to administer the database.
41 Allocates AFS IDs for new user, machine and group entries and maps each ID
42 to the corresponding name.
46 Generates a current protection subgroup (CPS) at the File Server's
47 request. The CPS lists all groups to which a user or machine belongs.
51 This command does not use the syntax conventions of the AFS command
52 suites. Provide the command name and all option names in full.
58 =item B<-database> <I<db path>>
60 Specifies the pathname of an alternate directory in which the Protection
61 Database files reside. Provide the complete pathname, ending in the base
62 filename to which the C<.DB0> and C<.DBSYS1> extensions are appended. For
63 example, the appropriate value for the default database files is
66 =item B<-p> <I<number of processes>>
68 Sets the number of server lightweight processes (LWPs) to run. Provide a
69 positive integer from the range C<3> to C<16>. The default value is C<3>.
73 Rebuilds the Protection Database at the beginning of Protection Server
74 initialization. Use this argument only in consultation with AFS
75 Development or Product Support.
77 =item B<-enable_peer_stats>
79 Activates the collection of Rx statistics and allocates memory for their
80 storage. For each connection with a specific UDP port on another machine,
81 a separate record is kept for each type of RPC (FetchFile, GetStatus, and
82 so on) sent or received. To display or otherwise access the records, use
83 the Rx Monitoring API.
85 =item B<-enable_process_stats>
87 Activates the collection of Rx statistics and allocates memory for their
88 storage. A separate record is kept for each type of RPC (FetchFile,
89 GetStatus, and so on) sent or received, aggregated over all connections to
90 other machines. To display or otherwise access the records, use the Rx
93 =item B<-allow-dotted-principal>
95 By default, the RXKAD security layer will disallow access by Kerberos
96 principals with a dot in the first component of their name. This is to avoid
97 the confusion where principals user/admin and user.admin are both mapped to the
98 user.admin PTS entry. Sites whose Kerberos realms don't have these collisions
99 between principal names may disable this check by starting the server
104 Prints the online help for this command. All other valid options are
111 The following B<bos create> command creates a C<ptserver> process on the
112 machine C<fs3.abc.com>. The command appears here on multiple lines only
115 % bos create -server fs3.abc.com -instance ptserver \
116 -type simple -cmd /usr/afs/bin/ptserver
118 =head1 PRIVILEGE REQUIRED
120 The issuer must be logged in as the superuser C<root> on a file server
121 machine to issue the command at a command shell prompt. It is conventional
122 instead to create and start the process by issuing the B<bos create>
135 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
137 This documentation is covered by the IBM Public License Version 1.0. It was
138 converted from HTML to POD by software written by Chas Williams and Russ
139 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.