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