=head1 NAME

vos_listaddrs - Displays all VLDB server entries

=head1 SYNOPSIS

=for html
<div class="synopsis">

B<vos listaddrs> S<<< [B<-uuid> <I<uuid of server>>] >>>
    S<<< [B<-host> <I<address of host>>] >>> [B<-printuuid>]
    S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>]
    [B<-verbose>] [B<-encrypt>] [B<-noresolve>] [B<-help>]

B<vos lista> [B<-u> <I<uuid of server>>] >>>
    S<<< [B<-h> <I<address of host>>] >>> [B<-p>]
    S<<< [B<-c> <I<cell name>>] >>> [B<-noa>] [B<-l>]
    [B<-v>] [B<-e>] [B<-nor>] [B<-he>]

=for html
</div>

=head1 DESCRIPTION

The B<vos listaddrs> command displays all of the server entries from the
Volume Location Database (VLDB). An entry is created as the File Server
initializes and registers the contents of its F</usr/afs/local/sysid> file
in the VLDB.

=head1 OPTIONS

=over 4

=item B<-host> <I<address of host>>

Rather than displaying all the server entries, display only server entries
for the specified host. This will show all multihomed addresses registered
by that File Server in the VLDB.

=item B<-uuid> <I<uuid of server>>

Rather than displaying all the server entries, display only server entries
for the File Server with the specified UUID. This will show all multihomed
addresses registered by that File Server in the VLDB and also allows
mapping a File Server UUID to its address.

=item B<-printuuid>

Prints the UUID of server entries in addition to the registered
addresses. The B<-printuuid> option is available in OpenAFS versions 1.4.5
or later and 1.5.8 or later.

=item B<-cell> <I<cell name>>

Names the cell in which to run the command. Do not combine this argument
with the B<-localauth> flag. For more details, see L<vos(1)>.

=item B<-noauth>

Assigns the unprivileged identity anonymous to the issuer. Do not combine
this flag with the B<-localauth> flag. For more details, see L<vos(1)>.

=item B<-localauth>

Constructs a server ticket using a key from the local
F</usr/afs/etc/KeyFile> file. The B<vos> command interpreter presents it
to the Volume Server and Volume Location Server during mutual
authentication. Do not combine this flag with the B<-cell> argument or
B<-noauth> flag. For more details, see L<vos(1)>.

=item B<-verbose>

Produces on the standard output stream a detailed trace of the command's
execution. If this argument is omitted, only warnings and error messages
appear.

=item B<-encrypt>

Encrypts the command so that the operation's results are not transmitted
across the network in clear text. This option is available in OpenAFS
versions 1.4.11 or later and 1.5.60 or later.

=item B<-noresolve>

Shows all servers as IP addresses instead of the DNS name. This is very
useful when the server address is registered as 127.0.0.1 or when dealing
with multi-homed servers. This option is available in OpenAFS
versions 1.4.8 or later and 1.5.35 or later.

=item B<-help>

Prints the online help for this command. All other valid options are
ignored.

=back

=head1 OUTPUT

The output displays all server entries from the VLDB, each on its own
line. If a file server machine is multihomed, all of its registered
addresses appear on the line. The first one is the one reported as a
volume's site in the output from the B<vos examine> and B<vos listvldb>
commands.

The VLDB records IP addresses, and the command interpreter has the local
name service (either a process like the Domain Name Service or a local
host table) translate them to hostnames before displaying them. If an IP
address appears in the output, it is not possible to translate it.

The existence of an entry does not necessarily indicate that the machine
that is still an active file server machine. To remove obsolete server
entries, use the B<vos changeaddr> command with the B<-remove> argument.

=head1 EXAMPLES

The following command displays the VLDB server entries in the ABC
Corporation cell:

   % vos listaddrs
   sv5.abc.com
   sv1.abc.com
   sv2.abc.com  afs2.abc.com
   sv6.abc.com

The following command displays the VLDB server entry and UUID for
host sv5.abc.com in the ABC Corporation cell:

   % vos listaddrs -p -ho sv5.abc.com
   UUID: 000c5aff-8246-1699-96-c4-437b5a45aa77
   sv5.abc.com

=head1 PRIVILEGE REQUIRED

None

=head1 SEE ALSO

L<fs_uuid(1)>,
L<sysid(5)>,
L<vos(1)>,
L<vos_examine(1)>,
L<vos_listvldb(1)>,
L<vos_setaddrs(1)>,
L<vos_remaddrs(1)>

=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.
