initial-html-documentation-20010606
[openafs.git] / doc / html / AdminReference / auarf099.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="auarf098.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="auarf100.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="HDRBOS_DELETE" HREF="auarf002.htm#ToC_113">bos delete</A></H2>
19 <A NAME="IDX4506"></A>
20 <A NAME="IDX4507"></A>
21 <A NAME="IDX4508"></A>
22 <A NAME="IDX4509"></A>
23 <A NAME="IDX4510"></A>
24 <P><STRONG>Purpose</STRONG>
25 <P>Deletes a server process from the <B>/usr/afs/local/BosConfig</B> file
26 <P><STRONG>Synopsis</STRONG>
27 <PRE><B>bos delete -server</B> &lt;<VAR>machine&nbsp;name</VAR>>  <B>-instance</B> &lt;<VAR>server process name</VAR>><SUP>+</SUP>
28            [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-noauth</B>]  [<B>-localauth</B>]  [<B>-help</B>]
29     
30 <B>bos d -s</B> &lt;<VAR>machine&nbsp;name</VAR>>  <B>-i</B> &lt;<VAR>server process name</VAR>><SUP>+</SUP>  [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]  
31       [<B>-n</B>]  [<B>-l</B>]  [<B>-h</B>]
32 </PRE>
33 <P><STRONG>Description</STRONG>
34 <P>The <B>bos delete</B> command removes the
35 <B>/usr/afs/local/BosConfig</B> entry for each process indicated by the
36 <B>-instance</B> argument, on the server machine named by the
37 <B>-server</B> argument.
38 <P>Before issuing this command, issue the <B>bos stop</B> command to stop
39 the process and set its status flag in the <B>BosConfig</B> file to
40 <TT>NotRun</TT>. The <B>bos delete</B> command fails with an
41 error message if a process's status flag is <TT>Run</TT>.
42 <P><STRONG>Options</STRONG>
43 <DL>
44 <P><DT><B><B>-server</B>
45 </B><DD>Indicates the server machine on which to delete the server process entry
46 from the <B>/usr/afs/local/BosConfig</B> file. Identify the machine
47 by IP address or its host name (either fully-qualified or abbreviated
48 unambiguously). For details, see the introductory reference page for
49 the <B>bos</B> command suite.
50 <P><DT><B><B>-instance</B>
51 </B><DD>Names each process to delete. Use the name assigned with the
52 <B>-instance</B> argument to the <B>bos create</B> command;
53 process names appear in the output of the <B>bos status</B>
54 command.
55 <P><DT><B><B>-cell</B>
56 </B><DD>Names the cell in which to run the command. Do not combine this
57 argument with the <B>-localauth</B> flag. For more details, see the
58 introductory <B>bos</B> reference page.
59 <P><DT><B><B>-noauth</B>
60 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
61 issuer. Do not combine this flag with the <B>-localauth</B>
62 flag. For more details, see the introductory <B>bos</B> reference
63 page.
64 <P><DT><B><B>-localauth</B>
65 </B><DD>Constructs a server ticket using a key from the local
66 <B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
67 interpreter presents the ticket to the BOS Server during mutual
68 authentication. Do not combine this flag with the <B>-cell</B> or
69 <B>-noauth</B> options. For more details, see the introductory
70 <B>bos</B> reference page.
71 <P><DT><B>-help
72 </B><DD>Prints the online help for this command. All other valid options
73 are ignored.
74 </DL>
75 <P><STRONG>Examples</STRONG>
76 <P>The following command removes the <B>buserver</B>, <B>kaserver</B>,
77 <B>ptserver</B>, and <B>vlserver</B> entries from the
78 <B>BosConfig</B> file on <B>db3.abc.com</B>, a database
79 server machine being decommissioned.
80 <PRE>   % <B>bos delete -server db3.abc.com -instance buserver kaserver ptserver vlserver</B>
81    
82 </PRE>
83 <P><STRONG>Privilege Required</STRONG>
84 <P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
85 the machine named by the <B>-server</B> argument, or must be logged onto a
86 server machine as the local superuser <B>root</B> if the
87 <B>-localauth</B> flag is included.
88 <P><STRONG>Related Information</STRONG>
89 <P><A HREF="auarf016.htm#HDRBOSCONFIG">BosConfig</A>
90 <P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
91 <P><A HREF="auarf035.htm#HDRUSERLIST">UserList</A>
92 <P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
93 <P><A HREF="auarf098.htm#HDRBOS_CREATE">bos create</A>
94 <P><A HREF="auarf121.htm#HDRBOS_STATUS">bos status</A>
95 <P>
96 <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="auarf098.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="auarf100.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> 
97 <!-- Begin Footer Records  ========================================== -->
98 <P><HR><B> 
99 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
100 </B> 
101 <!-- End Footer Records  ============================================ -->
102 <A NAME="Bot_Of_Page"></A>
103 </BODY></HTML>