Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / bos_listhosts.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3bos_listhosts - Displays the contents of the CellServDB file
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<bos listhosts> S<<< B<-server> <I<machine name>> >>> S<<< [B<-cell> <I<cell name>>] >>>
11 [B<-noauth>] [B<-localauth>] [B<-help>]
12
13B<bos listh> S<<< B<-s> <I<machine name>> >>> S<<< [B<-c> <I<cell name>>] >>> [B<-n>]
14 [B<-l>] [-h]
15
16B<bos getcell> S<<< B<-server> <I<machine name>> >>> S<<< [B<-cell> <I<cell name>>] >>>
17 [B<-noauth>] [B<-localauth>] [B<-help>]
18
19B<bos getc> S<<< B<-s> <I<machine name>> >>> S<<< [B<-c> <I<cell name>>] >>> [B<-n>]
20 [B<-l>] [-h]
21
22=for html
23</div>
24
25=head1 DESCRIPTION
26
27The B<bos listhosts> command formats and displays the list of a cell's
28database server machines from the F</usr/afs/etc/CellServDB> file on the
29server machine named by the B<-server> argument.
30
31To alter the list of machines, use the B<bos addhost> and B<bos
32removehost> commands.
33
34=head1 OPTIONS
35
36=over 4
37
38=item B<-server> <I<machine name>>
39
40Indicates the server machine from which to display the
41F</usr/afs/etc/CellServDB> file. Identify the machine by IP address or its
42host name (either fully-qualified or abbreviated unambiguously). For
43details, see L<bos(8)>.
44
45For consistent performance in the cell, the output must be the same on
46every server machine. The B<bos addhost> reference page explains how to
47keep the machines synchronized.
48
49=item B<-cell> <I<cell name>>
50
51Names the cell in which to run the command. Do not combine this argument
52with the B<-localauth> flag. For more details, see L<bos(8)>.
53
54=item B<-noauth>
55
56Assigns the unprivileged identity C<anonymous> to the issuer. Do not
57combine this flag with the B<-localauth> flag. For more details, see
58L<bos(8)>.
59
60=item B<-localauth>
61
62Constructs a server ticket using a key from the local
63F</usr/afs/etc/KeyFile> or F</usr/afs/etc/KeyFileExt> file.
64The B<bos> command interpreter presents the
65ticket to the BOS Server during mutual authentication. Do not combine this
66flag with the B<-cell> or B<-noauth> options. For more details, see
67L<bos(8)>.
68
69=item B<-help>
70
71Prints the online help for this command. All other valid options are
72ignored.
73
74=back
75
76=head1 OUTPUT
77
78The first line of the output names the cell to which the server machine
79belongs. Each of the following lines names a database server machine for
80that cell.
81
82The C<Host> number assigned to each database server machine is for
83server-internal use only and is not the same as, nor necessarily related
84to, the machine's IP address. The BOS Server assigned it as part of
85performing the B<bos addhost> command.
86
87=head1 EXAMPLES
88
89The following command displays the database server machines listed in the
90F</usr/afs/etc/CellServDB> file on the machine C<fs7.example.com>.
91
92 % bos listhosts fs7.example.com
93 Cell name is example.com
94 Host 1 is db1.example.com
95 Host 2 is db2.example.com
96 Host 3 is db3.example.com
97
98=head1 PRIVILEGE REQUIRED
99
100None
101
102=head1 SEE ALSO
103
104L<CellServDB(5)>,
105L<KeyFile(5)>,
106L<KeyFileExt(5)>,
107L<bos(8)>,
108L<bos_addhost(8)>,
109L<bos_removehost(8)>
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.