2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
buserver - Initializes the Backup Server
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
|
|
|
B<buserver> S<<< [B<-database> <I<database directory>>] >>>
|
2020-12-04 17:16:57 +00:00
|
|
|
S<<< [B<-auditlog> [<I<interface>>:]<I<path>>[:<I<options>>]] >>>
|
|
|
|
S<<< [B<-audit-interface> <I<default interface>>] >>>
|
2006-03-01 05:02:29 +00:00
|
|
|
S<<< [B<-cellservdb> <I<cell configuration directory>>] >>> [B<-resetdb>]
|
2013-06-14 21:33:19 +01:00
|
|
|
[B<-noauth>] [B<-smallht>]
|
|
|
|
S<<< [B<-servers> <I<list of ubik database servers>>+] >>>
|
|
|
|
[B<-rxbind>]
|
|
|
|
[B<-p> <I<number of threads>>] [B<-ubikbuffers> <I<# of buffers>>]
|
|
|
|
[B<-help>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
</div>
|
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The B<buserver> command initializes the Backup Server, which runs on
|
|
|
|
database server machines and maintains the Backup Database. In the
|
2005-12-08 12:14:33 +00:00
|
|
|
conventional configuration, the binary file is located in the
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/bin> directory on a file server machine.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The B<buserver> command is not normally issued at the command shell
|
2005-12-08 12:14:33 +00:00
|
|
|
prompt, but rather placed into a database server machine's
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/local/BosConfig> file with the B<bos create> 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 C<root>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
As it initializes, the Backup Server process creates the two files that
|
2005-12-13 19:21:13 +00:00
|
|
|
constitute the Backup Database, F<bdb.DB0> and F<bdb.DBSYS1>, in the
|
|
|
|
F</usr/afs/db> directory if they do not already exist. The Backup Database
|
|
|
|
houses information about volume sets and entries, the dump hierarchy, Tape
|
|
|
|
Coordinators, and previously performed dump sets. Use the commands in the
|
|
|
|
B<backup> suite to administer the database.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
The Backup Server records a trace of its activity in the
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/logs/BackupLog> file. Use the B<bos getlog> command to display
|
|
|
|
the contents of the file.
|
|
|
|
|
|
|
|
This command does not use the syntax conventions of the AFS command
|
|
|
|
suites. Provide the command name and all option names in full.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=head1 CAUTIONS
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The B<buserver> process reserves port 7021 for its use. Unexpected
|
|
|
|
behavior can occur if another process tries to reserve this port while the
|
|
|
|
B<buserver> process is running.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-database> <I<database directory>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the pathname of an alternate directory for the Backup Database
|
2005-12-13 19:21:13 +00:00
|
|
|
files, ending in a final slash (C</>). If this argument is not provided,
|
|
|
|
the default is the F</usr/afs/db> directory.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2020-12-04 17:16:57 +00:00
|
|
|
=item B<-auditlog> [<I<interface>>:]<I<path>>[:<I<options>>]
|
2009-06-24 22:46:27 +01:00
|
|
|
|
2009-07-25 18:37:08 +01:00
|
|
|
Turns on audit logging, and sets the path for the audit log. The audit
|
2009-07-27 02:26:59 +01:00
|
|
|
log records information about RPC calls, including the name of the RPC
|
2009-07-25 18:37:08 +01:00
|
|
|
call, the host that submitted the call, the authenticated entity (user)
|
|
|
|
that issued the call, the parameters for the call, and if the call
|
2020-12-04 17:16:57 +00:00
|
|
|
succeeded or failed. See L<fileserver(8)> for an explanation of the audit
|
|
|
|
facility.
|
2009-06-24 22:46:27 +01:00
|
|
|
|
2020-12-04 17:16:57 +00:00
|
|
|
=item B<-audit-interface> <I<default interface>>
|
2009-06-24 22:46:27 +01:00
|
|
|
|
2020-12-04 17:16:57 +00:00
|
|
|
Sets the default audit interface used by the B<-auditlog> option. The
|
|
|
|
initial default is the C<file> interface. See L<fileserver(8)> for
|
|
|
|
an explanation of each interface.
|
2009-06-24 22:46:27 +01:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-cellservdb> <I<cell configuration directory>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the pathname of the directory from which the Backup Server reads
|
2005-12-13 19:21:13 +00:00
|
|
|
in an alternate version of the F<CellServDB> file. This argument is
|
|
|
|
mandatory for correct functioning when the Backup Server is running on a
|
|
|
|
subset of the cell's database server machines that is not a majority of
|
|
|
|
the machines listed in the standard F</usr/afs/etc/CellServDB> file (which
|
|
|
|
the Backup Server consults if this argument is not provided). It is not
|
|
|
|
appropriate in any other circumstances.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-resetdb>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Removes all of the information in the Backup Database files in the
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/db> directory, leaving zero-length versions of them. The
|
|
|
|
backup operator must recreate the configuration entries in the database
|
2005-12-08 12:14:33 +00:00
|
|
|
(for volume sets, the dump hierarchy and so on) before performing backup
|
|
|
|
operations.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-noauth>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2013-06-14 21:33:19 +01:00
|
|
|
Turns off all authorization checks, and allows all connecting users to act as
|
|
|
|
administrators, even unauthenticated users. The use of this option is
|
|
|
|
inherently insecure, and should only be used in controlled environments for
|
|
|
|
experimental or debug purposes. See L<NoAuth(5)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-smallht>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Directs the Backup Server to use smaller internal hash tables for the
|
2005-12-13 19:21:13 +00:00
|
|
|
Backup Database, which reduces memory requirements but can make data
|
|
|
|
access take longer.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-servers> <I<list of ubik database servers>>+
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the database server machines on which to start the Backup
|
2005-12-13 19:21:13 +00:00
|
|
|
Server. Use this argument if running the Backup Server on a subset of the
|
|
|
|
database server machines that is not a majority of the machines listed in
|
|
|
|
the F</usr/afs/etc/CellServDB> file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2008-04-02 21:47:27 +01:00
|
|
|
=item B<-rxbind>
|
|
|
|
|
|
|
|
Bind the Rx socket to the primary interface only. (If not specified, the
|
|
|
|
Rx socket will listen on all interfaces.)
|
|
|
|
|
|
|
|
=item B<-p> <I<number of threads>>
|
|
|
|
|
|
|
|
Sets the number of server lightweight processes (LWPs or pthreads) to run.
|
|
|
|
Provide a positive integer from the range 3 to 16. The default value is 3.
|
|
|
|
|
2013-06-14 21:33:19 +01:00
|
|
|
=item B<-ubikbuffers> <I<# of buffers>>
|
|
|
|
|
|
|
|
Sets the number of internal buffers used for maintaining the ubik database.
|
|
|
|
The default is 400. If the buserver runs out of free buffers, errors can occur
|
|
|
|
while trying to modify ubik data. It is not recommended to change this setting.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The following example B<bos create> command creates a C<buserver> process
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
on the file server machine C<fs3.example.com>. It appears here on two lines
|
2005-12-13 19:21:13 +00:00
|
|
|
only for legibility.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% bos create -server fs3.example.com -instance buserver \
|
2005-12-08 12:14:33 +00:00
|
|
|
-type simple -cmd /usr/afs/bin/buserver
|
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The issuer must be logged in as the superuser C<root> 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>
|
|
|
|
command.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
L<BackupLog(5)>,
|
|
|
|
L<BosConfig(5)>,
|
|
|
|
L<CellServDB(5)>,
|
|
|
|
L<bdb.DB0(5)>,
|
|
|
|
L<backup(8)>,
|
|
|
|
L<bos_create(8)>,
|
|
|
|
L<bos_getlog(8)>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|