Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / backup_addhost.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3backup_addhost - Adds a Tape Coordinator entry to the Backup Database
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<backup addhost> S<<< B<-tapehost> <I<tape machine name>> >>>
11 S<<< [B<-portoffset> <I<TC port offset>>] >>>
12 [B<-localauth>] S<<< [B<-cell> <I<cell name>>] >>> [B<-help>]
13
14B<backup addh> S<<< B<-t> <I<tape machine name>> >>>
15 S<<< [B<-p> <I<TC port offset>>] >>>
16 [B<-l>] S<<< [B<-c> <I<cell name>>] >>> [B<-h>]
17
18=for html
19</div>
20
21=head1 DESCRIPTION
22
23The B<backup addhost> command creates a Tape Coordinator entry in the
24Backup Database. The entry records
25
26=over 4
27
28=item *
29
30The host name of the Tape Coordinator machine where the Tape Coordinator
31(B<butc>) process runs, as specified with the B<-tapehost> argument.
32
33=item *
34
35The Tape Coordinator's port offset number, as specified with the
36B<-portoffset> argument. An entry for the port offset must also appear in
37the F</usr/afs/backup/tapeconfig> file on the Tape Coordinator machine,
38where it is mapped to a UNIX device name (for a tape device) or pathname
39(for a backup data file).
40
41=back
42
43Each Tape Coordinator must have its own port offset number, and the
44command fails if a Backup Database entry already exists for the requested
45port offset number. To display existing Tape Coordinator entries, use the
46B<backup listhosts> command.
47
48=head1 OPTIONS
49
50=over 4
51
52=item B<-tapehost> <I<tape machine name>>
53
54Specifies the fully-qualified hostname of the machine for which to create
55a Tape Coordinator entry in the Backup Database. The machine must have an
56entry in either the cell's naming service (such as the Domain Name
57Service) or the host file (F</etc/hosts> or equivalent) on the machine
58where the command is issued.
59
60=item B<-portoffset> <I<TC port offset>>
61
62Specifies the Tape Coordinator's port offset number. Provide an integer
63from the range C<0> through C<58510>, or omit this argument to use the
64default value of C<0> (zero). The value must match the port offset number
65recorded for the same combination of Tape Coordinator and tape device or
66file in the F</usr/afs/backup/tapeconfig> file on the Tape Coordinator
67machine named by the B<-tapehost> argument.
68
69=item B<-localauth>
70
71Constructs a server ticket using a key from the local
72F</usr/afs/etc/KeyFile> file. The B<backup> command interpreter presents
73it to the Backup Server, Volume Server and VL Server during mutual
74authentication. Do not combine this flag with the B<-cell> argument. For
75more details, see L<backup(8)>.
76
77=item B<-cell> <I<cell name>>
78
79Names the cell in which to run the command. Do not combine this argument
80with the B<-localauth> flag. For more details, see L<backup(8)>.
81
82=item B<-help>
83
84Prints the online help for this command. All other valid options are
85ignored.
86
87=back
88
89=head1 EXAMPLES
90
91The following command creates an entry in the Backup Database that assigns
92port offset number 4 to a Tape Coordinator running on the machine
93C<backup1.example.com>:
94
95 % backup addhost -tapehost backup1.example.com -portoffset 4
96
97The following command creates a Backup Database entry that assigns port
98offset number 0 to a Tape Coordinator on the machine C<backup3.example.com>:
99
100 % backup addhost backup3.example.com
101
102=head1 PRIVILEGE REQUIRED
103
104The issuer must be listed in the F</usr/afs/etc/UserList> file on every
105machine where the Backup Server is running, or must be logged onto a
106server machine as the local superuser C<root> if the B<-localauth> flag is
107included.
108
109=head1 SEE ALSO
110
111L<backup(8)>,
112L<backup_delhost(8)>,
113L<backup_listhosts(8)>
114
115=head1 COPYRIGHT
116
117IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
118
119This documentation is covered by the IBM Public License Version 1.0. It was
120converted from HTML to POD by software written by Chas Williams and Russ
121Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.