3 buserver - Initializes the Backup Server
10 B<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>>+] >>>
17 [B<-p> <I<number of threads>>] [B<-ubikbuffers> <I<# of buffers>>]
25 The B<buserver> command initializes the Backup Server, which runs on
26 database server machines and maintains the Backup Database. In the
27 conventional configuration, the binary file is located in the
28 F</usr/afs/bin> directory on a file server machine.
30 The B<buserver> command is not normally issued at the command shell
31 prompt, but rather placed into a database server machine's
32 F</usr/afs/local/BosConfig> file with the B<bos create> command. If it is
33 ever issued at the command shell prompt, the issuer must be logged onto a
34 file server machine as the local superuser C<root>.
36 As it initializes, the Backup Server process creates the two files that
37 constitute the Backup Database, F<bdb.DB0> and F<bdb.DBSYS1>, in the
38 F</usr/afs/db> directory if they do not already exist. The Backup Database
39 houses information about volume sets and entries, the dump hierarchy, Tape
40 Coordinators, and previously performed dump sets. Use the commands in the
41 B<backup> suite to administer the database.
43 The Backup Server records a trace of its activity in the
44 F</usr/afs/logs/BackupLog> file. Use the B<bos getlog> command to display
45 the contents of the file.
47 This command does not use the syntax conventions of the AFS command
48 suites. Provide the command name and all option names in full.
52 The B<buserver> process reserves port 7021 for its use. Unexpected
53 behavior can occur if another process tries to reserve this port while the
54 B<buserver> process is running.
60 =item B<-database> <I<database directory>>
62 Specifies the pathname of an alternate directory for the Backup Database
63 files, ending in a final slash (C</>). If this argument is not provided,
64 the default is the F</usr/afs/db> directory.
66 =item B<-auditlog> <I<log path>>
68 Turns on audit logging, and sets the path for the audit log. The audit
69 log records information about RPC calls, including the name of the RPC
70 call, the host that submitted the call, the authenticated entity (user)
71 that issued the call, the parameters for the call, and if the call
74 =item B<-audit-interface> (file | sysvmq)
76 Specifies what audit interface to use. Defaults to C<file>. See
77 L<fileserver(8)> for an explanation of each interface.
79 =item B<-cellservdb> <I<cell configuration directory>>
81 Specifies the pathname of the directory from which the Backup Server reads
82 in an alternate version of the F<CellServDB> file. This argument is
83 mandatory for correct functioning when the Backup Server is running on a
84 subset of the cell's database server machines that is not a majority of
85 the machines listed in the standard F</usr/afs/etc/CellServDB> file (which
86 the Backup Server consults if this argument is not provided). It is not
87 appropriate in any other circumstances.
91 Removes all of the information in the Backup Database files in the
92 F</usr/afs/db> directory, leaving zero-length versions of them. The
93 backup operator must recreate the configuration entries in the database
94 (for volume sets, the dump hierarchy and so on) before performing backup
99 Turns off all authorization checks, and allows all connecting users to act as
100 administrators, even unauthenticated users. The use of this option is
101 inherently insecure, and should only be used in controlled environments for
102 experimental or debug purposes. See L<NoAuth(5)>.
106 Directs the Backup Server to use smaller internal hash tables for the
107 Backup Database, which reduces memory requirements but can make data
110 =item B<-servers> <I<list of ubik database servers>>+
112 Specifies the database server machines on which to start the Backup
113 Server. Use this argument if running the Backup Server on a subset of the
114 database server machines that is not a majority of the machines listed in
115 the F</usr/afs/etc/CellServDB> file.
119 Bind the Rx socket to the primary interface only. (If not specified, the
120 Rx socket will listen on all interfaces.)
122 =item B<-p> <I<number of threads>>
124 Sets the number of server lightweight processes (LWPs or pthreads) to run.
125 Provide a positive integer from the range 3 to 16. The default value is 3.
127 =item B<-ubikbuffers> <I<# of buffers>>
129 Sets the number of internal buffers used for maintaining the ubik database.
130 The default is 400. If the buserver runs out of free buffers, errors can occur
131 while trying to modify ubik data. It is not recommended to change this setting.
135 Prints the online help for this command. All other valid options are
142 The following example B<bos create> command creates a C<buserver> process
143 on the file server machine C<fs3.example.com>. It appears here on two lines
146 % bos create -server fs3.example.com -instance buserver \
147 -type simple -cmd /usr/afs/bin/buserver
149 =head1 PRIVILEGE REQUIRED
151 The issuer must be logged in as the superuser C<root> on a file server
152 machine to issue the command at a command shell prompt. It is conventional
153 instead to create and start the process by issuing the B<bos create>
168 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
170 This documentation is covered by the IBM Public License Version 1.0. It was
171 converted from HTML to POD by software written by Chas Williams and Russ
172 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.