3 vos_changeaddr - Changes or removes a file server machine's entry in the VLDB
10 B<vos changeaddr> S<<< B<-oldaddr> <I<original IP address>> >>>
11 S<<< [B<-newaddr> <I<new IP address>>] >>> [B<-remove>] [B<-force>]
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 changea> S<<< B<-o> <I<original IP address>> >>>
18 S<<< [B<-ne> <I<new IP address>>] >>> [B<-r>] [B<-f>]
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 changeaddr> command removes a server entry from the Volume
30 Location Database (VLDB) when the B<-remove> flag is combined with the
31 B<-oldaddr> argument. There must be no VLDB entries that list the machine
32 as a site for any version of a volume (if necessary, use the B<vos move>
33 or B<vos remove> command to move or remove volumes). It is appropriate to
34 remove a VLDB server entry when removing the corresponding file server
37 To display all VLDB server entries, use the B<vos listaddrs> command.
41 Combining the command's B<-oldaddr> and B<-newaddr> arguments is no longer
42 the appropriate way to change the IP address registered for a file server
43 machine. Furthermore, if a machine is multihomed and its server entry
44 includes several addresses, then the address specified with the
45 B<-newaddr> argument replaces all of the addresses currently listed in the
46 server entry that includes the address specified by the B<-oldaddr>
47 argument. This effectively makes the machine single-homed with respect to
48 AFS operations, which is probably not the desired result.
50 The recommended method for changing the IP addresses in a server entry is
51 instead to restart the C<fs> process group (which includes the File
52 Server) after using the utilities provided by the operating system to
53 reconfigure the machine's network interfaces. For a description of how the
54 File Server constructs and registers a list of its network interfaces in
55 the VLDB, see L<sysid(5)>.
57 If, counter to recommended usage, the command is used to change the IP
58 address in a server entry, it does not also change the names of machine
59 entries in the Protection Database. Operations fail when they refer to a
60 protection group that has an obsolete IP address in it. Use the B<pts
61 rename> command to change the names of machine entries that correspond to
62 the addresses changed with this command. Changing the address of a
63 database server machine also requires updating the client and server
64 versions of the F<CellServDB> file on every machine.
70 =item B<-oldaddr> <I<original IP address>>
72 Specifies the IP address currently registered for the file server machine
73 in the VLDB server entry. If there are multiple addresses registered for a
74 multihomed machine, use any of them to identify the server entry.
76 =item B<-newaddr> <I<new IP address>>
78 Specifies the new IP address that replaces all currently registered
81 Unless the B<-force> option is given, B<vos changeaddr> will refuse to change
82 addresses when the address given in B<-oldaddr> is registered with a multihomed
83 server entry in the VLDB. See L</CAUTIONS>.
87 Removes from the VLDB the server entry that includes the address specified
88 by the B<-oldaddr> argument.
92 Overrides the multihomed server entry check when the B<-oldaddr> and
93 B<-newaddr> options are combined. The B<-force> flag is provided for historical
94 compatibility and is not recommended.
96 =include fragments/vos-common.pod
102 The following command removes the VLDB server entry that includes the IP
103 address C<192.12.107.214>.
105 % vos changeaddr -oldaddr 192.12.107.214 -remove
107 =head1 PRIVILEGE REQUIRED
109 Issuer must be listed in the F</usr/afs/etc/UserList> file on the machine
110 specified with the B<-oldaddr> argument and on each database server
125 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
127 This documentation is covered by the IBM Public License Version 1.0. It was
128 converted from HTML to POD by software written by Chas Williams and Russ
129 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.