mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 08:50:17 +00:00
141 lines
7.5 KiB
HTML
141 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="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>
|
||
|
<P>
|
||
|
<H2><A NAME="HDRBOS_RESTART" HREF="auarf002.htm#ToC_127">bos restart</A></H2>
|
||
|
<A NAME="IDX4603"></A>
|
||
|
<A NAME="IDX4604"></A>
|
||
|
<A NAME="IDX4605"></A>
|
||
|
<A NAME="IDX4606"></A>
|
||
|
<A NAME="IDX4607"></A>
|
||
|
<A NAME="IDX4608"></A>
|
||
|
<P><STRONG>Purpose</STRONG>
|
||
|
<P>Restarts a server process
|
||
|
<P><STRONG>Synopsis</STRONG>
|
||
|
<PRE><B>bos restart -server</B> <<VAR>machine name</VAR>> [<B>-instance</B> <<VAR>instances</VAR>><SUP>+</SUP>] [<B>-bosserver</B>]
|
||
|
[<B>-all</B>] [<B>-cell</B> <<VAR>cell name</VAR>>] [<B>-noauth</B>] [<B>-localauth</B>] [<B>-help</B>]
|
||
|
|
||
|
<B>bos res -s</B> <<VAR>machine name</VAR>> [<B>-i</B> <<VAR>instances</VAR>><SUP>+</SUP>] [<B>-b</B>] [<B>-a</B>]
|
||
|
[<B>-c</B> <<VAR>cell name</VAR>>] [<B>-n</B>] [<B>-l</B>] [<B>-h</B>]
|
||
|
</PRE>
|
||
|
<P><STRONG>Description</STRONG>
|
||
|
<P>The <B>bos restart</B> command stops and immediately restarts server
|
||
|
processes on the server machine named by the <B>-server</B>
|
||
|
argument. Indicate which process or processes to restart by providing
|
||
|
one of the following arguments:
|
||
|
<UL>
|
||
|
<P><LI>The <B>-instance</B> argument names each AFS server process to stop
|
||
|
and restart immediately, regardless of its status flag in the
|
||
|
<B>/usr/afs/local/BosConfig</B> file. Do not include
|
||
|
<B>bosserver</B> in the list of processes; use the
|
||
|
<B>-bosserver</B> flag instead.
|
||
|
<P><LI>The <B>-bosserver</B> flag stops all AFS server processes running on
|
||
|
the machine, including the BOS Server. A new BOS Server starts
|
||
|
immediately, and it starts a new instance of each process that is marked with
|
||
|
the <TT>Run</TT> status flag in the <B>BosConfig</B> file.
|
||
|
<P><LI>The <B>-all</B> flag stops all AFS server processes running on the
|
||
|
machine, except the BOS Server, and immediately restarts the processes that
|
||
|
are marked with the <TT>Run</TT> status flag in the <B>BosConfig</B>
|
||
|
file.
|
||
|
</UL>
|
||
|
<P>This command does not change a process's status flag in the
|
||
|
<B>BosConfig</B> file.
|
||
|
<P><STRONG>Options</STRONG>
|
||
|
<DL>
|
||
|
<P><DT><B><B>-server</B>
|
||
|
</B><DD>Indicates the server machine on which to restart each process.
|
||
|
Identify the machine by IP address or its host name (either fully-qualified or
|
||
|
abbreviated unambiguously). For details, see the introductory reference
|
||
|
page for the <B>bos</B> command suite.
|
||
|
<P><DT><B><B>-instance</B>
|
||
|
</B><DD>Names each process to stop and then restart immediately regardless of its
|
||
|
status flag setting. Use the process name assigned with the
|
||
|
<B>-instance</B> argument to the <B>bos create</B> command. The
|
||
|
output from the <B>bos status</B> command lists the names. Provide
|
||
|
this flag or one of the <B>-bosserver</B> or <B>-all</B> options, but
|
||
|
do not combine them.
|
||
|
<P><DT><B><B>-bosserver</B>
|
||
|
</B><DD>Stops all AFS server processes running on the machine, including the BOS
|
||
|
Server. A new BOS Server instance immediately starts, and starts all
|
||
|
processes marked with the <TT>Run</TT> status flag in the
|
||
|
<B>BosConfig</B> file. Provide this flag or one of the
|
||
|
<B>-instance</B> or <B>-all</B> options, but do not combine
|
||
|
them.
|
||
|
<P><DT><B><B>-all</B>
|
||
|
</B><DD>Stops all AFS server processes running on the machine other than the BOS
|
||
|
Server, and immediately restarts the processes marked with the <B>Run</B>
|
||
|
status flag in the <B>BosConfig</B> file. Provide this flag or one
|
||
|
of the <B>-instance</B> or <B>-bosserver</B> options, but do not
|
||
|
combine them.
|
||
|
<P><DT><B><B>-cell</B>
|
||
|
</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>bos</B> reference page.
|
||
|
<P><DT><B><B>-noauth</B>
|
||
|
</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>bos</B> reference
|
||
|
page.
|
||
|
<P><DT><B><B>-localauth</B>
|
||
|
</B><DD>Constructs a server ticket using a key from the local
|
||
|
<B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
|
||
|
interpreter presents the ticket to the BOS Server during mutual
|
||
|
authentication. Do not combine this flag with the <B>-cell</B> or
|
||
|
<B>-noauth</B> options. For more details, see the introductory
|
||
|
<B>bos</B> reference page.
|
||
|
<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 stops and restarts all processes running on the
|
||
|
machine <B>fs3.abc.com</B>, including the BOS Server.
|
||
|
<PRE> % <B>bos restart -server fs3.abc.com -bosserver</B>
|
||
|
|
||
|
</PRE>
|
||
|
<P>The following command stops and restarts all processes running on the
|
||
|
machine <B>fs5.abc.com</B>, excluding the BOS Server.
|
||
|
<PRE> % <B>bos restart -server fs5.abc.com -all</B>
|
||
|
|
||
|
</PRE>
|
||
|
<P>The following command stops and restarts the Protection Server and Volume
|
||
|
Location (VL) Server processes on the machine
|
||
|
<B>db3.abc.com</B>:
|
||
|
<PRE> % <B>bos restart -server db3.abc.com -instance ptserver vlserver</B>
|
||
|
|
||
|
</PRE>
|
||
|
<P><STRONG>Privilege Required</STRONG>
|
||
|
<P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
|
||
|
the machine named by the <B>-server</B> argument, or must be logged onto a
|
||
|
server machine as the local superuser <B>root</B> if the
|
||
|
<B>-localauth</B> flag is included.
|
||
|
<P><STRONG>Related Information</STRONG>
|
||
|
<P><A HREF="auarf016.htm#HDRBOSCONFIG">BosConfig</A>
|
||
|
<P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
|
||
|
<P><A HREF="auarf035.htm#HDRUSERLIST">UserList</A>
|
||
|
<P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
|
||
|
<P><A HREF="auarf098.htm#HDRBOS_CREATE">bos create</A>
|
||
|
<P><A HREF="auarf121.htm#HDRBOS_STATUS">bos status</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="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>
|
||
|
<!-- Begin Footer Records ========================================== -->
|
||
|
<P><HR><B>
|
||
|
<br>© <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>
|