2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
vos_changeaddr - Changes or removes a file server machine's entry in the VLDB
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
|
|
|
B<vos changeaddr> S<<< B<-oldaddr> <I<original IP address>> >>>
|
2014-12-17 00:25:06 +00:00
|
|
|
S<<< [B<-newaddr> <I<new IP address>>] >>> [B<-remove>] [B<-force>]
|
2006-03-01 05:02:29 +00:00
|
|
|
S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>]
|
2013-06-20 23:45:05 +01:00
|
|
|
[B<-verbose>] [B<-encrypt>] [B<-noresolve>]
|
|
|
|
S<<< [B<-config> <I<config directory>>] >>>
|
|
|
|
[B<-help>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2009-10-08 18:31:00 +01:00
|
|
|
B<vos changea> S<<< B<-o> <I<original IP address>> >>>
|
2014-12-17 00:25:06 +00:00
|
|
|
S<<< [B<-ne> <I<new IP address>>] >>> [B<-r>] [B<-f>]
|
2009-10-08 18:31:00 +01:00
|
|
|
S<<< [B<-c> <I<cell name>>] >>>
|
2013-06-20 23:45:05 +01:00
|
|
|
[B<-noa>] [B<-l>] [B<-v>] [B<-e>] [B<-nor>]
|
|
|
|
S<<< [B<-co> <I<config directory>>] >>>
|
|
|
|
[B<-h>]
|
2006-03-01 05:02:29 +00:00
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The B<vos changeaddr> command removes a server entry from the Volume
|
|
|
|
Location Database (VLDB) when the B<-remove> flag is combined with the
|
|
|
|
B<-oldaddr> argument. There must be no VLDB entries that list the machine
|
|
|
|
as a site for any version of a volume (if necessary, use the B<vos move>
|
2014-11-17 16:23:38 +00:00
|
|
|
or B<vos remove> command to move or remove volumes). It is appropriate to
|
2005-12-09 14:48:56 +00:00
|
|
|
remove a VLDB server entry when removing the corresponding file server
|
2014-11-17 16:23:38 +00:00
|
|
|
machine from service.
|
2005-12-09 14:48:56 +00:00
|
|
|
|
|
|
|
To display all VLDB server entries, use the B<vos listaddrs> command.
|
|
|
|
|
|
|
|
=head1 CAUTIONS
|
|
|
|
|
|
|
|
Combining the command's B<-oldaddr> and B<-newaddr> arguments is no longer
|
|
|
|
the appropriate way to change the IP address registered for a file server
|
|
|
|
machine. Furthermore, if a machine is multihomed and its server entry
|
|
|
|
includes several addresses, then the address specified with the
|
|
|
|
B<-newaddr> argument replaces all of the addresses currently listed in the
|
|
|
|
server entry that includes the address specified by the B<-oldaddr>
|
|
|
|
argument. This effectively makes the machine single-homed with respect to
|
|
|
|
AFS operations, which is probably not the desired result.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
The recommended method for changing the IP addresses in a server entry is
|
2005-12-09 14:48:56 +00:00
|
|
|
instead to restart the C<fs> process group (which includes the File
|
2005-12-08 12:14:33 +00:00
|
|
|
Server) after using the utilities provided by the operating system to
|
2005-12-09 14:48:56 +00:00
|
|
|
reconfigure the machine's network interfaces. For a description of how the
|
|
|
|
File Server constructs and registers a list of its network interfaces in
|
|
|
|
the VLDB, see L<sysid(5)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
If, counter to recommended usage, the command is used to change the IP
|
|
|
|
address in a server entry, it does not also change the names of machine
|
2005-12-09 14:48:56 +00:00
|
|
|
entries in the Protection Database. Operations fail when they refer to a
|
|
|
|
protection group that has an obsolete IP address in it. Use the B<pts
|
|
|
|
rename> command to change the names of machine entries that correspond to
|
|
|
|
the addresses changed with this command. Changing the address of a
|
|
|
|
database server machine also requires updating the client and server
|
|
|
|
versions of the F<CellServDB> file on every machine.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-oldaddr> <I<original IP address>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the IP address currently registered for the file server machine
|
2005-12-09 14:48:56 +00:00
|
|
|
in the VLDB server entry. If there are multiple addresses registered for a
|
|
|
|
multihomed machine, use any of them to identify the server entry.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-newaddr> <I<new IP address>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the new IP address that replaces all currently registered
|
|
|
|
addresses.
|
|
|
|
|
2014-12-17 00:25:06 +00:00
|
|
|
Unless the B<-force> option is given, B<vos changeaddr> will refuse to change
|
|
|
|
addresses when the address given in B<-oldaddr> is registered with a multihomed
|
|
|
|
server entry in the VLDB. See L</CAUTIONS>.
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-remove>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Removes from the VLDB the server entry that includes the address specified
|
|
|
|
by the B<-oldaddr> argument.
|
|
|
|
|
2014-12-17 00:25:06 +00:00
|
|
|
=item B<-force>
|
|
|
|
|
|
|
|
Overrides the multihomed server entry check when the B<-oldaddr> and
|
|
|
|
B<-newaddr> options are combined. The B<-force> flag is provided for historical
|
|
|
|
compatibility and is not recommended.
|
|
|
|
|
2013-06-30 03:06:51 +01:00
|
|
|
=include fragments/vos-common.pod
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
The following command removes the VLDB server entry that includes the IP
|
2005-12-09 14:48:56 +00:00
|
|
|
address C<192.12.107.214>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
% vos changeaddr -oldaddr 192.12.107.214 -remove
|
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Issuer must be listed in the F</usr/afs/etc/UserList> file on the machine
|
|
|
|
specified with the B<-oldaddr> argument and on each database server
|
|
|
|
machine.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
L<CellServDB(5)>,
|
|
|
|
L<UserList(5)>,
|
|
|
|
L<sysid(5)>,
|
|
|
|
L<fileserver(8)>,
|
2005-12-08 12:14:33 +00:00
|
|
|
L<pts_rename(1)>,
|
|
|
|
L<vos(1)>,
|
|
|
|
L<vos_listaddrs(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.
|