venus: Remove dedebug
[openafs.git] / AdminReference / auarf251.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="auarf250.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="auarf252.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="HDRVOLSERVER" HREF="auarf002.htm#ToC_265">volserver</A></H2>
19 <A NAME="IDX5566"></A>
20 <A NAME="IDX5567"></A>
21 <A NAME="IDX5568"></A>
22 <P><STRONG>Purpose</STRONG>
23 <P>Initializes the Volume Server component of the <B>fs</B> process
24 <P><STRONG>Synopsis</STRONG>
25 <PRE><B>volserver</B> [<B>-log</B>]  [<B>-p</B> &lt;<VAR>number&nbsp;of&nbsp;processes</VAR>>]  
26           [<B>-udpsize</B> &lt;<VAR>size&nbsp;of&nbsp;socket&nbsp;buffer&nbsp;in&nbsp;bytes</VAR>>]  
27           [<B>-enable_peer_stats</B>]  [<B>-enable_process_stats</B>]  [<B>-help</B>]
28 </PRE>
29 <P>This command does not use the syntax conventions of the AFS command
30 suites. Provide the command name and all option names in full.
31 <P><STRONG>Description</STRONG>
32 <P>The <B>volserver</B> command initializes the Volume Server component of
33 the <B>fs</B> process. In the conventional configuration, its
34 binary file is located in the <B>/usr/afs/bin</B> directory on a file
35 server machine.
36 <P>The <B>volserver</B> command is not normally issued at the command
37 shell prompt but rather placed into a file server machine's
38 <B>/usr/afs/local/BosConfig</B> file with the <B>bos create</B>
39 command. If it is ever issued at the command shell prompt, the issuer
40 must be logged onto a database server machine as the local superuser
41 <B>root</B>.
42 <P>The Volume Server records a trace of its activity in the
43 <B>/usr/afs/logs/VolserLog</B> file. Use the <B>bos getlog</B>
44 command to display the contents of the file.
45 <P>The Volume Server processes the <B>vos</B> commands that administrators
46 use to create, delete, move, and replicate volumes, as well as prepare them
47 for archiving to tape or other media.
48 <P>By default, the VL Server runs nine lightweight processes (LWPs). To
49 change the number, use the <B>-p</B> argument.
50 <P><STRONG>Options</STRONG>
51 <DL>
52 <P><DT><B>-log
53 </B><DD>Records in the <B>/usr/afs/logs/VolserLog</B> file the names of all
54 users who successfully initiate a <B>vos</B> command. The Volume
55 Server also records any file removals that result from issuing the <B>vos
56 release</B> command with the <B>-f</B> flag.
57 <P><DT><B>-p
58 </B><DD>Sets the number of server lightweight processes (LWPs) to run.
59 Provide an integer between <B>4</B> and <B>16</B>. The default
60 is 9.
61 <P><DT><B>-udpsize
62 </B><DD>Sets the size of the UDP buffer, which is 64 KB by default. Provide
63 a positive integer, preferably larger than the default.
64 <P><DT><B>-enable_peer_stats
65 </B><DD>Activates the collection of Rx statistics and allocates memory for their
66 storage. For each connection with a specific UDP port on another
67 machine, a separate record is kept for each type of RPC (FetchFile, GetStatus,
68 and so on) sent or received. To display or otherwise access the
69 records, use the Rx Monitoring API.
70 <P><DT><B>-enable_process_stats
71 </B><DD>Activates the collection of Rx statistics and allocates memory for their
72 storage. A separate record is kept for each type of RPC (FetchFile,
73 GetStatus, and so on) sent or received, aggregated over all connections to
74 other machines. To display or otherwise access the records, use the Rx
75 Monitoring API.
76 <P><DT><B>-help
77 </B><DD>Prints the online help for this command. All other valid options
78 are ignored.
79 </DL>
80 <P><STRONG>Examples</STRONG>
81 <P>The following <B>bos create</B> command creates a <B>volserver</B>
82 process on the machine <B>fs2.abc.com</B>:
83 <PRE>   % <B>bos create -server fs2.abc.com -instance volserver -type simple</B>   \
84                  <B>-cmd /usr/afs/bin/volserver </B>
85 </PRE>
86 <P><STRONG>Privilege Required</STRONG>
87 <P>The issuer must be logged in as the superuser <B>root</B> on a file
88 server machine to issue the command at a command shell prompt. It is
89 conventional instead to create and start the process by issuing the <B>bos
90 create</B> command.
91 <P><STRONG>Related Information</STRONG>
92 <P><A HREF="auarf016.htm#HDRBOSCONFIG">BosConfig</A>
93 <P><A HREF="auarf039.htm#HDRVOLSERLOG">VolserLog</A>
94 <P><A HREF="auarf098.htm#HDRBOS_CREATE">bos create</A>
95 <P><A HREF="auarf102.htm#HDRBOS_GETLOG">bos getlog</A>
96 <P><A HREF="auarf252.htm#HDRVOS_INTRO">vos</A>
97 <P>
98 <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="auarf250.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="auarf252.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> 
99 <!-- Begin Footer Records  ========================================== -->
100 <P><HR><B> 
101 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
102 </B> 
103 <!-- End Footer Records  ============================================ -->
104 <A NAME="Bot_Of_Page"></A>
105 </BODY></HTML>