pam-afs-new-features-20010907
[openafs.git] / doc / html / AdminReference / auarf106.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="auarf105.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="auarf107.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_LISTHOSTS" HREF="auarf002.htm#ToC_120">bos listhosts</A></H2>
19 <A NAME="IDX4556"></A>
20 <A NAME="IDX4557"></A>
21 <A NAME="IDX4558"></A>
22 <A NAME="IDX4559"></A>
23 <A NAME="IDX4560"></A>
24 <A NAME="IDX4561"></A>
25 <A NAME="IDX4562"></A>
26 <P><STRONG>Purpose</STRONG>
27 <P>Displays the contents of the <B>/usr/afs/etc/CellServDB</B> file
28 <P><STRONG>Synopsis</STRONG>
29 <PRE><B>bos listhosts -server</B> &lt;<VAR>machine&nbsp;name</VAR>>  [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  
30               [<B>-noauth</B>]  [<B>-localauth</B>]  [<B>-help</B>]
31     
32 <B>bos listh -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>]
33    
34 <B>bos getcell -server</B> &lt;<VAR>machine&nbsp;name</VAR>>  [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>]  
35             [<B>-noauth</B>]  [<B>-localauth</B>]  [<B>-help</B>]
36     
37 <B>bos getc -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>]
38 </PRE>
39 <P><STRONG>Description</STRONG>
40 <P>The <B>bos listhosts</B> command formats and displays the list of a
41 cell's database server machines from the
42 <B>/usr/afs/etc/CellServDB</B> file on the server machine named by the
43 <B>-server</B> argument.
44 <P>To alter the list of machines, use the <B>bos addhost</B> and <B>bos
45 removehost</B> commands.
46 <P><STRONG>Options</STRONG>
47 <DL>
48 <P><DT><B><B>-server</B>
49 </B><DD>Indicates the server machine from which to display the
50 <B>/usr/afs/etc/CellServDB</B> file. Identify the machine by IP
51 address or its host name (either fully-qualified or abbreviated
52 unambiguously). For details, see the introductory reference page for
53 the <B>bos</B> command suite. 
54 <P>For consistent performance in the cell, the output must be the same on
55 every server machine. The <B>bos addhost</B> reference page
56 explains how to keep the machines synchronized.
57 <P><DT><B><B>-cell</B>
58 </B><DD>Names the cell in which to run the command. Do not combine this
59 argument with the <B>-localauth</B> flag. For more details, see the
60 introductory <B>bos</B> reference page.
61 <P><DT><B><B>-noauth</B>
62 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
63 issuer. Do not combine this flag with the <B>-localauth</B>
64 flag. For more details, see the introductory <B>bos</B> reference
65 page.
66 <P><DT><B><B>-localauth</B>
67 </B><DD>Constructs a server ticket using a key from the local
68 <B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
69 interpreter presents the ticket to the BOS Server during mutual
70 authentication. Do not combine this flag with the <B>-cell</B> or
71 <B>-noauth</B> options. For more details, see the introductory
72 <B>bos</B> reference page.
73 <P><DT><B>-help
74 </B><DD>Prints the online help for this command. All other valid options
75 are ignored.
76 </DL>
77 <P><STRONG>Output</STRONG>
78 <P>The first line of the output names the cell to which the server machine
79 belongs. Each of the following lines names a database server machine
80 for that cell.
81 <P>The <TT>Host</TT> number assigned to each database server machine is for
82 server-internal use only and is not the same as, nor necessarily related to,
83 the machine's IP address. The BOS Server assigned it as part of
84 performing the <B>bos addhost</B> command.
85 <P><STRONG>Examples</STRONG>
86 <P>The following command displays the database server machines listed in the
87 <B>/usr/afs/etc/CellServDB</B> file on the machine
88 <B>fs7.abc.com</B>.
89 <PRE>   % <B>bos listhosts fs7.abc.com</B>
90    Cell name is abc.com
91        Host 1 is db1.abc.com
92        Host 2 is db2.abc.com
93        Host 3 is db3.abc.com
94     
95 </PRE>
96 <P><STRONG>Privilege Required</STRONG>
97 <P>None
98 <P><STRONG>Related Information</STRONG>
99 <P><A HREF="auarf020.htm#HDRSV_CSDB">CellServDB (server version)</A>
100 <P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
101 <P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
102 <P><A HREF="auarf094.htm#HDRBOS_ADDHOST">bos addhost</A>
103 <P><A HREF="auarf110.htm#HDRBOS_REMOVEHOST">bos removehost</A>
104 <P>
105 <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="auarf105.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="auarf107.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> 
106 <!-- Begin Footer Records  ========================================== -->
107 <P><HR><B> 
108 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
109 </B> 
110 <!-- End Footer Records  ============================================ -->
111 <A NAME="Bot_Of_Page"></A>
112 </BODY></HTML>