mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 00:41:08 +00:00
129 lines
7.0 KiB
HTML
129 lines
7.0 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="auarf115.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="auarf117.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_SETCELLNAME" HREF="auarf002.htm#ToC_130">bos setcellname</A></H2>
|
||
|
<A NAME="IDX4622"></A>
|
||
|
<A NAME="IDX4623"></A>
|
||
|
<A NAME="IDX4624"></A>
|
||
|
<A NAME="IDX4625"></A>
|
||
|
<A NAME="IDX4626"></A>
|
||
|
<A NAME="IDX4627"></A>
|
||
|
<A NAME="IDX4628"></A>
|
||
|
<A NAME="IDX4629"></A>
|
||
|
<P><STRONG>Purpose</STRONG>
|
||
|
<P>Sets the cell's name in the <B>/usr/afs/etc/ThisCell</B> and
|
||
|
<B>/usr/afs/etc/CellServDB</B> files
|
||
|
<P><STRONG>Synopsis</STRONG>
|
||
|
<PRE><B>bos setcellname -server</B> <<VAR>machine name</VAR>> <B>-name</B> <<VAR>cell name</VAR>>
|
||
|
[<B>-cell</B> <<VAR>cell name</VAR>>] [<B>-noauth</B>] [<B>-localauth</B>] [<B>-help</B>]
|
||
|
|
||
|
<B>bos setc -s</B> <<VAR>machine name</VAR>> <B>-n</B> <<VAR>cell name</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 setcellname</B> command establishes the cell's name and
|
||
|
makes the server machine named by the <B>-server</B> argument a member of
|
||
|
it, by recording the value of the <B>-name</B> argument in two files which
|
||
|
it creates on the local disk:
|
||
|
<UL>
|
||
|
<P><LI><B>/usr/afs/etc/ThisCell</B>
|
||
|
<P><LI><B>/usr/afs/etc/CellServDB</B>. The cell name appears on the
|
||
|
first line in the file, preceded by the required <TT>></TT> symbol.
|
||
|
The machine name specified with the <B>-server</B> argument appears on the
|
||
|
second line along with its IP address as obtained from the cell's naming
|
||
|
service. The machine is thus designated as the cell's first
|
||
|
database server machine.
|
||
|
</UL>
|
||
|
<P><STRONG>Cautions</STRONG>
|
||
|
<P>Issue this command only when the installing the cell's first AFS
|
||
|
server machine. The <I>IBM AFS Quick Beginnings</I> explains how to
|
||
|
copy over the <B>ThisCell</B> and <B>CellServDB</B> files from this or
|
||
|
another appropriate machine during installation of additional server
|
||
|
machines.
|
||
|
<P>Be sure to choose a satisfactory cell name when issuing this command,
|
||
|
because changing a cell's name is very complicated; for one thing,
|
||
|
it requires changing every password in the Authentication Database.
|
||
|
Consult the <I>IBM AFS Administration Guide</I> for advice on choosing a
|
||
|
cell name. If changing the cell's name is absolutely necessary,
|
||
|
contact AFS Product Support for complete instructions.
|
||
|
<P><STRONG>Options</STRONG>
|
||
|
<DL>
|
||
|
<P><DT><B><B>-server</B>
|
||
|
</B><DD>Indicates the server machine on which to set the cell name in the
|
||
|
<B>ThisCell</B> and <B>CellServDB</B> file. It is always the
|
||
|
first machine installed in a cell. 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>-name</B>
|
||
|
</B><DD>Defines the cell name, using standard Internet domain name format (the
|
||
|
actual domain name is usually appropriate). Examples are
|
||
|
<B>abc.com</B> for the ABC Corporation and
|
||
|
<B>stateu.edu</B> for the State University. It must match
|
||
|
the value of the <B>-cell</B> argument, if that is provided.
|
||
|
<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 defines the cell name <B>abc.com</B> in
|
||
|
the <B>ThisCell</B> and <B>CellServDB</B> files on the machine
|
||
|
<B>fs1.abc.com</B> as it is installed as the cell's
|
||
|
first server machine.
|
||
|
<PRE> % <B>bos setcellname -server fs1.abc.com -name abc.com</B>
|
||
|
|
||
|
</PRE>
|
||
|
<P><STRONG>Privilege Required</STRONG>
|
||
|
<P>Authorization checking is normally turned off during installation, which is
|
||
|
the only recommended time to use this command; in this case no privilege
|
||
|
is required. If authorization checking is turned on, 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 in as the local superuser
|
||
|
<B>root</B> if the <B>-localauth</B> flag is included.
|
||
|
<P><STRONG>Related Information</STRONG>
|
||
|
<P><A HREF="auarf020.htm#HDRSV_CSDB">CellServDB (server version)</A>
|
||
|
<P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
|
||
|
<P><A HREF="auarf033.htm#HDRSV_THISCELL">ThisCell (server version)</A>
|
||
|
<P><A HREF="auarf035.htm#HDRUSERLIST">UserList</A>
|
||
|
<P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
|
||
|
<P><I>IBM AFS Quick Beginnings</I>
|
||
|
<P><I>IBM AFS Administration Guide</I>
|
||
|
<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="auarf115.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="auarf117.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>
|