DEVEL15-windows-smb-dead-vc-gc-20080627
[openafs.git] / doc / html / AdminReference / auarf113.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="auarf112.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="auarf114.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_RESTART" HREF="auarf002.htm#ToC_127">bos restart</A></H2>
19 <A NAME="IDX4603"></A>
20 <A NAME="IDX4604"></A>
21 <A NAME="IDX4605"></A>
22 <A NAME="IDX4606"></A>
23 <A NAME="IDX4607"></A>
24 <A NAME="IDX4608"></A>
25 <P><STRONG>Purpose</STRONG>
26 <P>Restarts a server process
27 <P><STRONG>Synopsis</STRONG>
28 <PRE><B>bos restart -server</B> &lt;<VAR>machine&nbsp;name</VAR>>  [<B>-instance</B> &lt;<VAR>instances</VAR>><SUP>+</SUP>]  [<B>-bosserver</B>]  
29             [<B>-all</B>]  [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-noauth</B>]  [<B>-localauth</B>]  [<B>-help</B>]
30    
31 <B>bos res -s</B> &lt;<VAR>machine&nbsp;name</VAR>>  [<B>-i</B> &lt;<VAR>instances</VAR>><SUP>+</SUP>]  [<B>-b</B>]  [<B>-a</B>]  
32         [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-n</B>]  [<B>-l</B>]  [<B>-h</B>]
33 </PRE>
34 <P><STRONG>Description</STRONG>
35 <P>The <B>bos restart</B> command stops and immediately restarts server
36 processes on the server machine named by the <B>-server</B>
37 argument. Indicate which process or processes to restart by providing
38 one of the following arguments:
39 <UL>
40 <P><LI>The <B>-instance</B> argument names each AFS server process to stop
41 and restart immediately, regardless of its status flag in the
42 <B>/usr/afs/local/BosConfig</B> file. Do not include
43 <B>bosserver</B> in the list of processes; use the
44 <B>-bosserver</B> flag instead.
45 <P><LI>The <B>-bosserver</B> flag stops all AFS server processes running on
46 the machine, including the BOS Server. A new BOS Server starts
47 immediately, and it starts a new instance of each process that is marked with
48 the <TT>Run</TT> status flag in the <B>BosConfig</B> file.
49 <P><LI>The <B>-all</B> flag stops all AFS server processes running on the
50 machine, except the BOS Server, and immediately restarts the processes that
51 are marked with the <TT>Run</TT> status flag in the <B>BosConfig</B>
52 file.
53 </UL>
54 <P>This command does not change a process's status flag in the
55 <B>BosConfig</B> file.
56 <P><STRONG>Options</STRONG>
57 <DL>
58 <P><DT><B><B>-server</B>
59 </B><DD>Indicates the server machine on which to restart each process.
60 Identify the machine by IP address or its host name (either fully-qualified or
61 abbreviated unambiguously). For details, see the introductory reference
62 page for the <B>bos</B> command suite.
63 <P><DT><B><B>-instance</B>
64 </B><DD>Names each process to stop and then restart immediately regardless of its
65 status flag setting. Use the process name assigned with the
66 <B>-instance</B> argument to the <B>bos create</B> command. The
67 output from the <B>bos status</B> command lists the names. Provide
68 this flag or one of the <B>-bosserver</B> or <B>-all</B> options, but
69 do not combine them.
70 <P><DT><B><B>-bosserver</B>
71 </B><DD>Stops all AFS server processes running on the machine, including the BOS
72 Server. A new BOS Server instance immediately starts, and starts all
73 processes marked with the <TT>Run</TT> status flag in the
74 <B>BosConfig</B> file. Provide this flag or one of the
75 <B>-instance</B> or <B>-all</B> options, but do not combine
76 them.
77 <P><DT><B><B>-all</B>
78 </B><DD>Stops all AFS server processes running on the machine other than the BOS
79 Server, and immediately restarts the processes marked with the <B>Run</B>
80 status flag in the <B>BosConfig</B> file. Provide this flag or one
81 of the <B>-instance</B> or <B>-bosserver</B> options, but do not
82 combine them.
83 <P><DT><B><B>-cell</B>
84 </B><DD>Names the cell in which to run the command. Do not combine this
85 argument with the <B>-localauth</B> flag. For more details, see the
86 introductory <B>bos</B> reference page.
87 <P><DT><B><B>-noauth</B>
88 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
89 issuer. Do not combine this flag with the <B>-localauth</B>
90 flag. For more details, see the introductory <B>bos</B> reference
91 page.
92 <P><DT><B><B>-localauth</B>
93 </B><DD>Constructs a server ticket using a key from the local
94 <B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
95 interpreter presents the ticket to the BOS Server during mutual
96 authentication. Do not combine this flag with the <B>-cell</B> or
97 <B>-noauth</B> options. For more details, see the introductory
98 <B>bos</B> reference page.
99 <P><DT><B>-help
100 </B><DD>Prints the online help for this command. All other valid options
101 are ignored.
102 </DL>
103 <P><STRONG>Examples</STRONG>
104 <P>The following command stops and restarts all processes running on the
105 machine <B>fs3.abc.com</B>, including the BOS Server.
106 <PRE>   % <B>bos restart -server fs3.abc.com -bosserver</B>
107     
108 </PRE>
109 <P>The following command stops and restarts all processes running on the
110 machine <B>fs5.abc.com</B>, excluding the BOS Server.
111 <PRE>   % <B>bos restart -server fs5.abc.com -all</B>
112     
113 </PRE>
114 <P>The following command stops and restarts the Protection Server and Volume
115 Location (VL) Server processes on the machine
116 <B>db3.abc.com</B>:
117 <PRE>   % <B>bos restart -server db3.abc.com -instance ptserver vlserver</B>
118    
119 </PRE>
120 <P><STRONG>Privilege Required</STRONG>
121 <P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
122 the machine named by the <B>-server</B> argument, or must be logged onto a
123 server machine as the local superuser <B>root</B> if the
124 <B>-localauth</B> flag is included.
125 <P><STRONG>Related Information</STRONG>
126 <P><A HREF="auarf016.htm#HDRBOSCONFIG">BosConfig</A>
127 <P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
128 <P><A HREF="auarf035.htm#HDRUSERLIST">UserList</A>
129 <P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
130 <P><A HREF="auarf098.htm#HDRBOS_CREATE">bos create</A>
131 <P><A HREF="auarf121.htm#HDRBOS_STATUS">bos status</A>
132 <P>
133 <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="auarf112.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="auarf114.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> 
134 <!-- Begin Footer Records  ========================================== -->
135 <P><HR><B> 
136 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
137 </B> 
138 <!-- End Footer Records  ============================================ -->
139 <A NAME="Bot_Of_Page"></A>
140 </BODY></HTML>