pam-afs-new-features-20010907
[openafs.git] / doc / html / AdminReference / auarf257.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <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> 
17 <P>
18 <H2><A NAME="HDRVOS_CHANGEADDR" HREF="auarf002.htm#ToC_271">vos changeaddr</A></H2>
19 <A NAME="IDX5612"></A>
20 <A NAME="IDX5613"></A>
21 <P><STRONG>Purpose</STRONG>
22 <P>Changes or removes a file server machine's entry in the VLDB
23 <P><STRONG>Synopsis</STRONG>
24 <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>>] 
25                [<B>-remove</B>]  [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-noauth</B>]  [<B>-localauth</B>]  
26                [<B>-verbose</B>]  [<B>-help</B>]
27     
28 <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>]  
29        [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-no</B>]  [<B>-l</B>]  [<B>-v</B>]  [<B>-h</B>]
30 </PRE>
31 <P><STRONG>Description</STRONG>
32 <P>The <B>vos changeaddr</B> command removes a server entry from the
33 Volume Location Database (VLDB) when the <B>-remove</B> flag is combined
34 with the <B>-oldaddr</B> argument. There must be no VLDB entries
35 that list the machine as a site for any version of a volume (if necessary, use
36 the <B>vos move</B> or <B>vos remove</B> command to more or remove
37 volumes). It is appropriate to remove a VLDB server entry when removing
38 the corresponding file server machine from service; this is the only
39 recommended use of the command.
40 <P>To display all VLDB server entries, use the <B>vos listaddrs</B>
41 command.
42 <P><STRONG>Cautions</STRONG>
43 <P>Combining the command's <B>-oldaddr</B> and <B>-newaddr</B>
44 arguments is no longer the appropriate way to change the IP address registered
45 for a file server machine. Furthermore, if a machine is multihomed and
46 its server entry includes several addresses, then the address specified with
47 the <B>-newaddr</B> argument replaces all of the addresses currently
48 listed in the server entry that includes the address specified by the
49 <B>-oldaddr</B> argument. This effectively makes the machine
50 single-homed with respect to AFS operations, which is probably not the desired
51 result.
52 <P>The recommended method for changing the IP addresses in a server entry is
53 instead to restart the <B>fs</B> process group (which includes the File
54 Server) after using the utilities provided by the operating system to
55 reconfigure the machine's network interfaces. For a description of
56 how the File Server constructs and registers a list of its network interfaces
57 in the VLDB, see the reference page for the <B>sysid</B> file.
58 <P>If, counter to recommended usage, the command is used to change the IP
59 address in a server entry, it does not also change the names of machine
60 entries in the Protection Database. Operations fail when they refer to
61 a protection group that has an obsolete IP address in it. Use the
62 <B>pts rename</B> command to change the names of machine entries that
63 correspond to the addresses changed with this command. Changing the
64 address of a database server machine also requires updating the client and
65 server versions of the <B>CellServDB</B> file on every machine.
66 <P><STRONG>Options</STRONG>
67 <DL>
68 <P><DT><B>-oldaddr
69 </B><DD>Specifies the IP address currently registered for the file server machine
70 in the VLDB server entry. If there are multiple addresses registered
71 for a multihomed machine, use any of them to identify the server entry.
72 <P><DT><B>-newaddr
73 </B><DD>Specifies the new IP address that replaces all currently registered
74 addresses.
75 <P><DT><B>-remove
76 </B><DD>Removes from the VLDB the server entry that includes the address specified
77 by the <B>-oldaddr</B> argument.
78 <P><DT><B>-cell
79 </B><DD>Names the cell in which to run the command. Do not combine this
80 argument with the <B>-localauth</B> flag. For more details, see the
81 introductory <B>vos</B> reference page.
82 <P><DT><B>-noauth
83 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
84 issuer. Do not combine this flag with the <B>-localauth</B>
85 flag. For more details, see the introductory <B>vos</B> reference
86 page.
87 <P><DT><B>-localauth
88 </B><DD>Constructs a server ticket using a key from the local
89 <B>/usr/afs/etc/KeyFile</B> file. The <B>vos</B> command
90 interpreter presents it to the Volume Server and Volume Location Server during
91 mutual authentication. Do not combine this flag with the
92 <B>-cell</B> argument or <B>-noauth</B> flag. For more details,
93 see the introductory <B>vos</B> reference page.
94 <P><DT><B>-verbose
95 </B><DD>Produces on the standard output stream a detailed trace of the
96 command's execution. If this argument is omitted, only warnings
97 and error messages appear.
98 <P><DT><B>-help
99 </B><DD>Prints the online help for this command. All other valid options
100 are ignored.
101 </DL>
102 <P><STRONG>Examples</STRONG>
103 <P>The following command removes the VLDB server entry that includes the IP
104 address <B>192.12.107.214</B>.
105 <PRE>   % <B>vos changeaddr -oldaddr 192.12.107.214 -remove</B>
106    
107 </PRE>
108 <P><STRONG>Privilege Required</STRONG>
109 <P>Issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on the
110 machine specified with the <B>-oldaddr</B> argument and on each database
111 server machine.
112 <P><STRONG>Related Information</STRONG>
113 <P><A HREF="auarf019.htm#HDRCLI_CSDB">CellServDB (client version)</A>
114 <P><A HREF="auarf020.htm#HDRSV_CSDB">CellServDB (server version)</A>
115 <P><A HREF="auarf035.htm#HDRUSERLIST">UserList</A>
116 <P><A HREF="auarf049.htm#HDRSYSID">sysid</A>
117 <P><A HREF="auarf129.htm#HDRFILESERVER">fileserver</A>
118 <P><A HREF="auarf224.htm#HDRPTS_RENAME">pts rename</A>
119 <P><A HREF="auarf252.htm#HDRVOS_INTRO">vos</A>
120 <P><A HREF="auarf263.htm#HDRVOS_LISTADDRS">vos listaddrs</A>
121 <P>
122 <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> 
123 <!-- Begin Footer Records  ========================================== -->
124 <P><HR><B> 
125 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
126 </B> 
127 <!-- End Footer Records  ============================================ -->
128 <A NAME="Bot_Of_Page"></A>
129 </BODY></HTML>