Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / buserver.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3buserver - Initializes the Backup Server
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<buserver> S<<< [B<-database> <I<database directory>>] >>>
11 S<<< [B<-auditlog> <I<log path>>] >>>
12 S<<< [B<-audit-interface> (file | sysvmq)] >>>
13 S<<< [B<-cellservdb> <I<cell configuration directory>>] >>> [B<-resetdb>]
14 [B<-noauth>] [B<-smallht>]
15 S<<< [B<-servers> <I<list of ubik database servers>>+] >>>
16 [B<-rxbind>]
17 [B<-p> <I<number of threads>>] [B<-ubikbuffers> <I<# of buffers>>]
18 [B<-help>]
19
20=for html
21</div>
22
23=head1 DESCRIPTION
24
25The B<buserver> command initializes the Backup Server, which runs on
26database server machines and maintains the Backup Database. In the
27conventional configuration, the binary file is located in the
28F</usr/afs/bin> directory on a file server machine.
29
30The B<buserver> command is not normally issued at the command shell
31prompt, but rather placed into a database server machine's
32F</usr/afs/local/BosConfig> file with the B<bos create> command. If it is
33ever issued at the command shell prompt, the issuer must be logged onto a
34file server machine as the local superuser C<root>.
35
36As it initializes, the Backup Server process creates the two files that
37constitute the Backup Database, F<bdb.DB0> and F<bdb.DBSYS1>, in the
38F</usr/afs/db> directory if they do not already exist. The Backup Database
39houses information about volume sets and entries, the dump hierarchy, Tape
40Coordinators, and previously performed dump sets. Use the commands in the
41B<backup> suite to administer the database.
42
43The Backup Server records a trace of its activity in the
44F</usr/afs/logs/BackupLog> file. Use the B<bos getlog> command to display
45the contents of the file.
46
47This command does not use the syntax conventions of the AFS command
48suites. Provide the command name and all option names in full.
49
50=head1 CAUTIONS
51
52The B<buserver> process reserves port 7021 for its use. Unexpected
53behavior can occur if another process tries to reserve this port while the
54B<buserver> process is running.
55
56=head1 OPTIONS
57
58=over 4
59
60=item B<-database> <I<database directory>>
61
62Specifies the pathname of an alternate directory for the Backup Database
63files, ending in a final slash (C</>). If this argument is not provided,
64the default is the F</usr/afs/db> directory.
65
66=item B<-auditlog> <I<log path>>
67
68Turns on audit logging, and sets the path for the audit log. The audit
69log records information about RPC calls, including the name of the RPC
70call, the host that submitted the call, the authenticated entity (user)
71that issued the call, the parameters for the call, and if the call
72succeeded or failed.
73
74=item B<-audit-interface> (file | sysvmq)
75
76Specifies what audit interface to use. Defaults to C<file>. See
77L<fileserver(8)> for an explanation of each interface.
78
79=item B<-cellservdb> <I<cell configuration directory>>
80
81Specifies the pathname of the directory from which the Backup Server reads
82in an alternate version of the F<CellServDB> file. This argument is
83mandatory for correct functioning when the Backup Server is running on a
84subset of the cell's database server machines that is not a majority of
85the machines listed in the standard F</usr/afs/etc/CellServDB> file (which
86the Backup Server consults if this argument is not provided). It is not
87appropriate in any other circumstances.
88
89=item B<-resetdb>
90
91Removes all of the information in the Backup Database files in the
92F</usr/afs/db> directory, leaving zero-length versions of them. The
93backup operator must recreate the configuration entries in the database
94(for volume sets, the dump hierarchy and so on) before performing backup
95operations.
96
97=item B<-noauth>
98
99Turns off all authorization checks, and allows all connecting users to act as
100administrators, even unauthenticated users. The use of this option is
101inherently insecure, and should only be used in controlled environments for
102experimental or debug purposes. See L<NoAuth(5)>.
103
104=item B<-smallht>
105
106Directs the Backup Server to use smaller internal hash tables for the
107Backup Database, which reduces memory requirements but can make data
108access take longer.
109
110=item B<-servers> <I<list of ubik database servers>>+
111
112Specifies the database server machines on which to start the Backup
113Server. Use this argument if running the Backup Server on a subset of the
114database server machines that is not a majority of the machines listed in
115the F</usr/afs/etc/CellServDB> file.
116
117=item B<-rxbind>
118
119Bind the Rx socket to the primary interface only. (If not specified, the
120Rx socket will listen on all interfaces.)
121
122=item B<-p> <I<number of threads>>
123
124Sets the number of server lightweight processes (LWPs or pthreads) to run.
125Provide a positive integer from the range 3 to 16. The default value is 3.
126
127=item B<-ubikbuffers> <I<# of buffers>>
128
129Sets the number of internal buffers used for maintaining the ubik database.
130The default is 400. If the buserver runs out of free buffers, errors can occur
131while trying to modify ubik data. It is not recommended to change this setting.
132
133=item B<-help>
134
135Prints the online help for this command. All other valid options are
136ignored.
137
138=back
139
140=head1 EXAMPLES
141
142The following example B<bos create> command creates a C<buserver> process
143on the file server machine C<fs3.example.com>. It appears here on two lines
144only for legibility.
145
146 % bos create -server fs3.example.com -instance buserver \
147 -type simple -cmd /usr/afs/bin/buserver
148
149=head1 PRIVILEGE REQUIRED
150
151The issuer must be logged in as the superuser C<root> on a file server
152machine to issue the command at a command shell prompt. It is conventional
153instead to create and start the process by issuing the B<bos create>
154command.
155
156=head1 SEE ALSO
157
158L<BackupLog(5)>,
159L<BosConfig(5)>,
160L<CellServDB(5)>,
161L<bdb.DB0(5)>,
162L<backup(8)>,
163L<bos_create(8)>,
164L<bos_getlog(8)>
165
166=head1 COPYRIGHT
167
168IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
169
170This documentation is covered by the IBM Public License Version 1.0. It was
171converted from HTML to POD by software written by Chas Williams and Russ
172Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.