3 vos_setaddrs - Set new addresses for a file server's entry in the VLDB
10 B<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>>] >>>
17 B<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>>] >>>
29 The B<vos setaddrs> command sets the IP addresses for a server entry in
30 the Volume Location Database (VLDB). Specify one or several IP addresses.
31 All existing addresses in the VLDB server entry are replaced with the new
32 addresses given on the command line.
34 To find the UUID for a server entry, use the C<vos listaddrs -printuuid>
35 command to display all VLDB server entries with their UUIDs.
39 Normally, the best way to change the registered addresses for a server
40 entry is to restart the File Server process after changing the network
41 configuration for that server and possibly the F<NetInfo> and
42 F<NetRestrict> files for that server. See L<NetInfo(5)> and
43 L<NetRestrict(5)> for more information about configuring the File Server
44 to register the correct set of addresses. This command can be used to
45 change the registered addresses without restarting the File Server, but
46 the next time the File Server is restarted, it will register all of its
47 known addresses again. You should therefore always ensure that the File
48 Server configuration is correct for whenever it is next restarted before
51 Setting the wrong addresses will make the volumes on that file server
52 unreachable from AFS clients.
54 This command was introduced in OpenAFS 1.5.74, but can be used with any
55 version of the Volume Location Server.
61 =item B<-uuid> <I<UUID of server>>
63 The unique ID as provided by the C<vos listaddrs -printuuid> command.
65 =item B<-host> <I<IP address>>+
67 The new list of IP addresses for the File Server.
69 =include fragments/vos-common.pod
75 The following command sets addresses C<192.12.107.214> and C<10.47.11.17>
76 for the UUID 008f157e-bad0-157c-0ffee-357c4d1faa77
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
85 =head1 PRIVILEGE REQUIRED
87 Issuer must be listed in the F</usr/afs/etc/UserList> file on each
88 database server machine.
104 KTH 2010. All Rights Reserved.
106 This documentation is covered by the IBM Public License Version 1.0.