mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 08:20:16 +00:00
d7da1acc31
pull in all documentation from IBM
138 lines
7.7 KiB
HTML
138 lines
7.7 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="auarf104.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="auarf106.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_INSTALL" HREF="auarf002.htm#ToC_119">bos install</A></H2>
|
|
<A NAME="IDX4548"></A>
|
|
<A NAME="IDX4549"></A>
|
|
<A NAME="IDX4550"></A>
|
|
<A NAME="IDX4551"></A>
|
|
<A NAME="IDX4552"></A>
|
|
<A NAME="IDX4553"></A>
|
|
<A NAME="IDX4554"></A>
|
|
<A NAME="IDX4555"></A>
|
|
<P><STRONG>Purpose</STRONG>
|
|
<P>Installs a new version of a binary file
|
|
<P><STRONG>Synopsis</STRONG>
|
|
<PRE><B>bos install -server</B> <<VAR>machine name</VAR>> <B>-file</B> <<VAR>files to install</VAR>><SUP>+</SUP>
|
|
[<B>-dir</B> <<VAR>destination dir</VAR>>] [<B>-cell</B> <<VAR>cell name</VAR>>]
|
|
[<B>-noauth</B>] [<B>-localauth</B>] [<B>-help</B>]
|
|
|
|
<B>bos i -s</B> <<VAR>machine name</VAR>> <B>-f</B> <<VAR>files to install</VAR>><SUP>+</SUP>
|
|
[<B>-d</B> <<VAR>destination dir</VAR>>] [<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 install</B> command copies each binary file specified with
|
|
the <B>-file</B> argument to the local disk of the server machine named by
|
|
the <B>-server</B> argument, which is normally the binary distribution
|
|
machine for its CPU/operating system type. The destination directory is
|
|
<B>/usr/afs/bin</B> unless the <B>-dir</B> argument indicates an
|
|
alternate directory. The source file's UNIX mode bits are
|
|
preserved in the transfer.
|
|
<P>If there is already a file of the same name in the destination directory,
|
|
the BOS Server automatically saves it by adding a <TT>.BAK</TT>
|
|
extension. If there is a current <TT>.BAK</TT> version at
|
|
least seven days old, it replaces the current <TT>.OLD</TT>
|
|
version. If there is no current <TT>.OLD</TT> version, the
|
|
current <TT>.BAK</TT> version becomes the <TT>.OLD</TT>
|
|
version automatically. The <B>bos getdate</B> command displays the
|
|
timestamps on the current versions of the file.
|
|
<P>To start using the new binary immediately, issue the <B>bos restart</B>
|
|
command. Otherwise, the BOS Server automatically restarts the process
|
|
at the time defined in the <B>/usr/afs/local/BosConfig</B> file; use
|
|
the <B>bos getrestart</B> command to display the time and the <B>bos
|
|
setrestart</B> time to set it.
|
|
<P><STRONG>Options</STRONG>
|
|
<DL>
|
|
<P><DT><B><B>-server</B>
|
|
</B><DD>Indicates the binary distribution machine on which to install the new
|
|
binaries. 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>If the machine is not a binary distribution machine and is running an
|
|
<B>upclientbin</B> process, then the files are overwritten the next time
|
|
the <B>upclientbin</B> process fetches the corresponding file from the
|
|
distribution machine (by default within five minutes).
|
|
<P><DT><B><B>-file</B>
|
|
</B><DD>Specifies the complete pathname of each binary file to copy into the
|
|
destination directory. Each source directory can be on the local disk
|
|
or in AFS, in which case the issuer of the <B>bos install</B> command must
|
|
have the necessary AFS access rights and the local machine must run the Cache
|
|
Manager. For the BOS Server to create <TT>.BAK</TT> and
|
|
<TT>.OLD</TT> versions, the last element in the pathname (the
|
|
filename) must match the name of a file in the destination directory.
|
|
The reference page for the <B>bos create</B> command lists the standard
|
|
binary file names.
|
|
<P><DT><B><B>-dir</B>
|
|
</B><DD>Provides the complete pathname of the local disk directory in which to
|
|
install binary files. It is necessary only if the destination directory
|
|
is not <B>/usr/afs/bin</B>.
|
|
<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 copies the file
|
|
<B>/afs/abc.com/rs_aix42/usr/afs/bin/vlserver</B> to the file
|
|
<B>/usr/afs/bin/vlserver</B> on the machine
|
|
<B>fs3.abc.com</B>, which is the binary distribution machine
|
|
for server machines running AIX 4.2 in the <B>abc.com</B>
|
|
cell. The current version of the <B>/usr/afs/bin/vlserver</B> file
|
|
is moved to <B>/usr/afs/bin/vlserver.BAK</B>.
|
|
<PRE> % <B>bos install -server fs3.abc.com </B> \
|
|
<B>-file /afs/abc.com/rs_aix42/usr/afs/bin/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="auarf101.htm#HDRBOS_GETDATE">bos getdate</A>
|
|
<P><A HREF="auarf103.htm#HDRBOS_GETRESTART">bos getrestart</A>
|
|
<P><A HREF="auarf113.htm#HDRBOS_RESTART">bos restart</A>
|
|
<P><A HREF="auarf117.htm#HDRBOS_SETRESTART">bos setrestart</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="auarf104.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="auarf106.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>
|