openafs/doc/html/AdminReference/auarf257.htm
Derrick Brashear d7da1acc31 initial-html-documentation-20010606
pull in all documentation from IBM
2001-06-06 19:09:07 +00:00

130 lines
7.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
<HTML><HEAD>
<TITLE>Administration Reference</TITLE>
<!-- Begin Header Records ========================================== -->
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
</HEAD><BODY>
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
<BODY bgcolor="ffffff">
<!-- End Header Records ============================================ -->
<A NAME="Top_Of_Page"></A>
<H1>Administration Reference</H1>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf256.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf258.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<P>
<H2><A NAME="HDRVOS_CHANGEADDR" HREF="auarf002.htm#ToC_271">vos changeaddr</A></H2>
<A NAME="IDX5612"></A>
<A NAME="IDX5613"></A>
<P><STRONG>Purpose</STRONG>
<P>Changes or removes a file server machine's entry in the VLDB
<P><STRONG>Synopsis</STRONG>
<PRE><B>vos changeaddr -oldaddr</B> &lt;<VAR>original&nbsp;IP&nbsp;address</VAR>> [<B>-newaddr</B> &lt;<VAR>new&nbsp;IP&nbsp;address</VAR>>]
[<B>-remove</B>] [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>] [<B>-noauth</B>] [<B>-localauth</B>]
[<B>-verbose</B>] [<B>-help</B>]
<B>vos ch -o</B> &lt;<VAR>original&nbsp;IP&nbsp;address</VAR>> [<B>-ne</B> &lt;<VAR>new&nbsp;IP&nbsp;address</VAR>>] [<B>-r</B>]
[<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>] [<B>-no</B>] [<B>-l</B>] [<B>-v</B>] [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>vos changeaddr</B> command removes a server entry from the
Volume Location Database (VLDB) when the <B>-remove</B> flag is combined
with the <B>-oldaddr</B> 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</B> or <B>vos remove</B> command to more or remove
volumes). It is appropriate to remove a VLDB server entry when removing
the corresponding file server machine from service; this is the only
recommended use of the command.
<P>To display all VLDB server entries, use the <B>vos listaddrs</B>
command.
<P><STRONG>Cautions</STRONG>
<P>Combining the command's <B>-oldaddr</B> and <B>-newaddr</B>
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</B> argument replaces all of the addresses currently
listed in the server entry that includes the address specified by the
<B>-oldaddr</B> argument. This effectively makes the machine
single-homed with respect to AFS operations, which is probably not the desired
result.
<P>The recommended method for changing the IP addresses in a server entry is
instead to restart the <B>fs</B> process group (which includes the File
Server) after using the utilities provided by the operating system to
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 the reference page for the <B>sysid</B> file.
<P>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
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</B> 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 <B>CellServDB</B> file on every machine.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-oldaddr
</B><DD>Specifies the IP address currently registered for the file server machine
in the VLDB server entry. If there are multiple addresses registered
for a multihomed machine, use any of them to identify the server entry.
<P><DT><B>-newaddr
</B><DD>Specifies the new IP address that replaces all currently registered
addresses.
<P><DT><B>-remove
</B><DD>Removes from the VLDB the server entry that includes the address specified
by the <B>-oldaddr</B> argument.
<P><DT><B>-cell
</B><DD>Names the cell in which to run the command. Do not combine this
argument with the <B>-localauth</B> flag. For more details, see the
introductory <B>vos</B> reference page.
<P><DT><B>-noauth
</B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
issuer. Do not combine this flag with the <B>-localauth</B>
flag. For more details, see the introductory <B>vos</B> reference
page.
<P><DT><B>-localauth
</B><DD>Constructs a server ticket using a key from the local
<B>/usr/afs/etc/KeyFile</B> file. The <B>vos</B> command
interpreter presents it to the Volume Server and Volume Location Server during
mutual authentication. Do not combine this flag with the
<B>-cell</B> argument or <B>-noauth</B> flag. For more details,
see the introductory <B>vos</B> reference page.
<P><DT><B>-verbose
</B><DD>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.
<P><DT><B>-help
</B><DD>Prints the online help for this command. All other valid options
are ignored.
</DL>
<P><STRONG>Examples</STRONG>
<P>The following command removes the VLDB server entry that includes the IP
address <B>192.12.107.214</B>.
<PRE> % <B>vos changeaddr -oldaddr 192.12.107.214 -remove</B>
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>Issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on the
machine specified with the <B>-oldaddr</B> argument and on each database
server machine.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf019.htm#HDRCLI_CSDB">CellServDB (client version)</A>
<P><A HREF="auarf020.htm#HDRSV_CSDB">CellServDB (server version)</A>
<P><A HREF="auarf035.htm#HDRUSERLIST">UserList</A>
<P><A HREF="auarf049.htm#HDRSYSID">sysid</A>
<P><A HREF="auarf129.htm#HDRFILESERVER">fileserver</A>
<P><A HREF="auarf224.htm#HDRPTS_RENAME">pts rename</A>
<P><A HREF="auarf252.htm#HDRVOS_INTRO">vos</A>
<P><A HREF="auarf263.htm#HDRVOS_LISTADDRS">vos listaddrs</A>
<P>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf256.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf258.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<!-- Begin Footer Records ========================================== -->
<P><HR><B>
<br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
</B>
<!-- End Footer Records ============================================ -->
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>