Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod1 / vos_setaddrs.pod.in
CommitLineData
805e021f
CE
1=head1 NAME
2
3vos_setaddrs - Set new addresses for a file server's entry in the VLDB
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<vos setaddrs> S<<< B<-uuid> <I<UUID of server>> >>>
11 S<<< B<-host> <I<IP address>>+ >>>
12 S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>]
13 [B<-verbose>] [B<-encrypt>] [B<-noresolve>]
14 S<<< [B<-config> <I<config directory>>] >>>
15 [B<-help>]
16
17B<vos seta> S<<< B<-u> <I<UUID of server>> >>>
18 S<<< B<-ho> <I<IP address>>+ >>>
19 S<<< [B<-c> <I<cell name>>] >>>
20 [B<-noa>] [B<-l>] [B<-v>] [B<-e>] [B<-nor>]
21 S<<< [B<-co> <I<config directory>>] >>>
22 [B<-h>]
23
24=for html
25</div>
26
27=head1 DESCRIPTION
28
29The B<vos setaddrs> command sets the IP addresses for a server entry in
30the Volume Location Database (VLDB). Specify one or several IP addresses.
31All existing addresses in the VLDB server entry are replaced with the new
32addresses given on the command line.
33
34To find the UUID for a server entry, use the C<vos listaddrs -printuuid>
35command to display all VLDB server entries with their UUIDs.
36
37=head1 CAUTIONS
38
39Normally, the best way to change the registered addresses for a server
40entry is to restart the File Server process after changing the network
41configuration for that server and possibly the F<NetInfo> and
42F<NetRestrict> files for that server. See L<NetInfo(5)> and
43L<NetRestrict(5)> for more information about configuring the File Server
44to register the correct set of addresses. This command can be used to
45change the registered addresses without restarting the File Server, but
46the next time the File Server is restarted, it will register all of its
47known addresses again. You should therefore always ensure that the File
48Server configuration is correct for whenever it is next restarted before
49using this command.
50
51Setting the wrong addresses will make the volumes on that file server
52unreachable from AFS clients.
53
54This command was introduced in OpenAFS 1.5.74, but can be used with any
55version of the Volume Location Server.
56
57=head1 OPTIONS
58
59=over 4
60
61=item B<-uuid> <I<UUID of server>>
62
63The unique ID as provided by the C<vos listaddrs -printuuid> command.
64
65=item B<-host> <I<IP address>>+
66
67The new list of IP addresses for the File Server.
68
69=include fragments/vos-common.pod
70
71=back
72
73=head1 EXAMPLES
74
75The following command sets addresses C<192.12.107.214> and C<10.47.11.17>
76for the UUID 008f157e-bad0-157c-0ffee-357c4d1faa77
77
78 % vos setaddrs -uuid 008f157e-bad0-157c-0ffee-357c4d1faa77 \
79 -host 192.12.107.214 -host 10.47.11.17 -verbose
80 vos: Changed UUID with addresses:
81 UUID: 008f157e-bad0-157c-0ffee-357c4d1faa77
82 192.12.107.214
83 10.47.11.17
84
85=head1 PRIVILEGE REQUIRED
86
87Issuer must be listed in the F</usr/afs/etc/UserList> file on each
88database server machine.
89
90=head1 SEE ALSO
91
92L<CellServDB(5)>,
93L<NetInfo(5)>,
94L<NetRestrict(5)>,
95L<UserList(5)>,
96L<sysid(5)>,
97L<fileserver(8)>,
98L<vos(1)>,
99L<vos_listaddrs(1)>,
100L<vos_remaddrs(1)>
101
102=head1 COPYRIGHT
103
104KTH 2010. All Rights Reserved.
105
106This documentation is covered by the IBM Public License Version 1.0.