added button GIF's to the HTML docs
[openafs.git] / doc / html / AdminReference / auarf103.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="auarf102.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="auarf104.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_GETRESTART" HREF="auarf002.htm#ToC_117">bos getrestart</A></H2>
19 <A NAME="IDX4536"></A>
20 <A NAME="IDX4537"></A>
21 <A NAME="IDX4538"></A>
22 <A NAME="IDX4539"></A>
23 <A NAME="IDX4540"></A>
24 <A NAME="IDX4541"></A>
25 <A NAME="IDX4542"></A>
26 <A NAME="IDX4543"></A>
27 <A NAME="IDX4544"></A>
28 <P><STRONG>Purpose</STRONG>
29 <P>Displays the automatic restart times for server processes
30 <P><STRONG>Synopsis</STRONG>
31 <PRE><B>bos getrestart -server</B> &lt;<VAR>machine&nbsp;name</VAR>>  [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  
32                [<B>-noauth</B>]  [<B>-localauth</B>]  [<B>-help</B>]
33    
34 <B>bos getr -s</B> &lt;<VAR>machine&nbsp;name</VAR>>  [<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>]  [<B>-n</B>]  [<B>-l</B>]  [<B>-h</B>]
35 </PRE>
36 <P><STRONG>Description</STRONG>
37 <P>The <B>bos getrestart</B> command displays two restart times from the
38 <B>/usr/afs/local/BosConfig</B> file on the server machine named by the
39 <B>-server</B> argument:
40 <UL>
41 <P><LI>The <I>general restart</I> time at which the BOS Server process
42 automatically restarts itself and all processes marked with status
43 <TT>Run</TT> in the <B>BosConfig</B> file. The default is Sunday
44 at 4:00 a.m.
45 <P><LI>The <I>binary restart</I> time at which the BOS Server automatically
46 restarts any process for which the time stamp on the binary file in the
47 <B>/usr/afs/bin</B> directory is later than the last restart time for the
48 process. The default is 5:00 a.m. Use the <B>bos
49 getdate</B> command to list a binary file's timestamp, and the
50 <B>-long</B> flag to the <B>bos status</B> command to display a
51 process's most recent restart time.
52 </UL>
53 <P>Use the <B>bos setrestart</B> command to set the restart times.
54 <P><STRONG>Options</STRONG>
55 <DL>
56 <P><DT><B><B>-server</B>
57 </B><DD>Indicates the server machine for which to display the restart
58 times. Identify the machine by IP address or its host name (either
59 fully-qualified or abbreviated unambiguously). For details, see the
60 introductory reference page for the <B>bos</B> command suite.
61 <P><DT><B><B>-cell</B>
62 </B><DD>Names the cell in which to run the command. Do not combine this
63 argument with the <B>-localauth</B> flag. For more details, see the
64 introductory <B>bos</B> reference page.
65 <P><DT><B><B>-noauth</B>
66 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
67 issuer. Do not combine this flag with the <B>-localauth</B>
68 flag. For more details, see the introductory <B>bos</B> reference
69 page.
70 <P><DT><B><B>-localauth</B>
71 </B><DD>Constructs a server ticket using a key from the local
72 <B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
73 interpreter presents the ticket to the BOS Server during mutual
74 authentication. Do not combine this flag with the <B>-cell</B> or
75 <B>-noauth</B> options. For more details, see the introductory
76 <B>bos</B> reference page.
77 <P><DT><B>-help
78 </B><DD>Prints the online help for this command. All other valid options
79 are ignored.
80 </DL>
81 <P><STRONG>Output</STRONG>
82 <P>The output consists of two lines:
83 <PRE>   Server <VAR>machine_name</VAR> restarts at <VAR>time</VAR>
84    Server <VAR>machine_name</VAR> restarts for new binaries at <VAR>time</VAR>
85    
86 </PRE>
87 <P>Possible values for <I>time</I> include:
88 <UL>
89 <P><LI><TT>never</TT>, indicating that the BOS Server never performs that type
90 of restart
91 <P><LI><TT>now</TT>, indicating that the BOS Server performs that type of
92 restart only each time it restarts
93 <P><LI>A specified day and time, indicating that the BOS Server performs that
94 type of restart once per week. Example: <TT>sun 4:00
95 am</TT>.
96 <P><LI>A specified time, indicating that the BOS Server performs that type of
97 restart once per day. Examples: <TT>11:00 pm</TT>,
98 <TT>3:00  am</TT>.
99 </UL>
100 <P><STRONG>Examples</STRONG>
101 <P>The following example displays the restart times for the machine
102 <B>db2.abc.com</B>:
103 <PRE>   % <B>bos getrestart db2.abc.com</B>
104    Server db2.abc.com restarts at sun 4:00 am
105    Server db2.abc.com restarts for new binaries at 2:15 am
106    
107 </PRE>
108 <P>In the following example, the issuer abbreviates the machine name
109 <B>fs1.abc.com</B> to <B>fs1</B>, relying on the
110 cell's name server to resolve the name. The output echoes the
111 abbreviated form.
112 <PRE>   % <B>bos getrestart fs1</B>
113    Server fs1 restarts at sat 5:00 am
114    Server fs1 restarts for new binaries at 11:30 pm
115    
116 </PRE>
117 <P><STRONG>Privilege Required</STRONG>
118 <P>None
119 <P><STRONG>Related Information</STRONG>
120 <P><A HREF="auarf016.htm#HDRBOSCONFIG">BosConfig</A>
121 <P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
122 <P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
123 <P><A HREF="auarf101.htm#HDRBOS_GETDATE">bos getdate</A>
124 <P><A HREF="auarf117.htm#HDRBOS_SETRESTART">bos setrestart</A>
125 <P><A HREF="auarf121.htm#HDRBOS_STATUS">bos status</A>
126 <P>
127 <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="auarf102.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="auarf104.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> 
128 <!-- Begin Footer Records  ========================================== -->
129 <P><HR><B> 
130 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
131 </B> 
132 <!-- End Footer Records  ============================================ -->
133 <A NAME="Bot_Of_Page"></A>
134 </BODY></HTML>