Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / bos_removehost.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3bos_removehost - Removes a database server machine from the CellServDB file
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<bos removehost> S<<< B<-server> <I<machine name>> >>> S<<< B<-host> <I<host name>>+ >>>
11 S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-help>]
12
13B<bos removeh> S<<< B<-s> <I<machine name>> >>> S<<< B<-ho> <I<host name>>+ >>>
14 S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [B<-he>]
15
16=for html
17</div>
18
19=head1 DESCRIPTION
20
21The B<bos removehost> command removes the entry for each database server
22machine specified with the B<-host> argument from the
23F</usr/afs/etc/CellServDB> file on the server machine named by the
24B<-server> argument.
25
26=head1 CAUTIONS
27
28After executing this command (and waiting for the Update Server to
29propagate the changes, if it is used), restart the database server
30processes on all database server machines to force election of a quorum
31that includes the new set of machines listed in the
32F</usr/afs/etc/CellServDB> file. The I<OpenAFS Quick Start Guide> explains
33in more detail how to add and remove database server machines.
34
35=head1 OPTIONS
36
37=over 4
38
39=item B<-server> <I<machine name>>
40
41Indicates the server machine on which to change the
42F</usr/afs/etc/CellServDB> file. Identify the machine by IP address or its
43host name (either fully-qualified or abbreviated unambiguously). For
44details, see L<bos(8)>.
45
46In cells that use the Update Server to distribute the contents of the
47F</usr/afs/etc> directory, it is conventional to specify only the system
48control machine as a value for the B<-server> argument. Otherwise, repeat
49the command for each file server machine. For further discussion, see
50L<bos(8)>.
51
52=item B<-host> <I<host name>>+
53
54Specifies the fully-qualified host name (such as C<fs2.example.com>) of each
55database server machine to remove from the B<CellServDB> file.
56
57=item B<-cell> <I<cell name>>
58
59Names the cell in which to run the command. Do not combine this argument
60with the B<-localauth> flag. For more details, see L<bos(8)>.
61
62=item B<-noauth>
63
64Assigns the unprivileged identity C<anonymous> to the issuer. Do not
65combine this flag with the B<-localauth> flag. For more details, see
66L<bos(8)>.
67
68=item B<-localauth>
69
70Constructs a server ticket using a key from the local
71F</usr/afs/etc/KeyFile> or F</usr/afs/etc/KeyFileExt> file.
72The B<bos> command interpreter presents the
73ticket to the BOS Server during mutual authentication. Do not combine this
74flag with the B<-cell> or B<-noauth> options. For more details, see
75L<bos(8)>.
76
77=item B<-help>
78
79Prints the online help for this command. All other valid options are
80ignored.
81
82=back
83
84=head1 EXAMPLES
85
86The following command removes the former database server machine
87C<db2.example.com> from the F<CellServDB> file on the system control machine
88C<fs1.example.com>.
89
90 % bos removehost -server fs1.example.com -host db2.example.com
91
92=head1 PRIVILEGE REQUIRED
93
94The issuer must be listed in the F</usr/afs/etc/UserList> file on the
95machine named by the B<-server> argument, or must be logged onto a server
96machine as the local superuser C<root> if the B<-localauth> flag is
97included.
98
99=head1 SEE ALSO
100
101L<KeyFile(5)>,
102L<KeyFileExt(5)>,
103L<UserList(5)>,
104L<bos(8)>,
105L<bos_addhost(8)>,
106L<bos_listhosts(8)>
107
108The I<OpenAFS Quick Start Guide> at
109L<http://docs.openafs.org/QuickStartUnix/>.
110
111=head1 COPYRIGHT
112
113IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
114
115This documentation is covered by the IBM Public License Version 1.0. It was
116converted from HTML to POD by software written by Chas Williams and Russ
117Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.