1 1a8f27c3 2004-05-14 devnull .TH VENTI.CONF 6
3 1a8f27c3 2004-05-14 devnull venti.conf \- a venti configuration file
4 1a8f27c3 2004-05-14 devnull .SH DESCRIPTION
5 1a8f27c3 2004-05-14 devnull A venti configuration file enumerates the various index sections and
6 1a8f27c3 2004-05-14 devnull arenas that constitute a venti system.
7 1a8f27c3 2004-05-14 devnull The components are indicated by the name of the file, typically
8 1a8f27c3 2004-05-14 devnull a disk partition, in which they reside. The configuration
9 1a8f27c3 2004-05-14 devnull file is the only location that file names are used. Internally,
10 1a8f27c3 2004-05-14 devnull venti uses the names assigned when the components were formatted
12 1a8f27c3 2004-05-14 devnull .I fmtarenas
14 1a8f27c3 2004-05-14 devnull .I fmtisect
16 1a8f27c3 2004-05-14 devnull .IR ventiaux (8)).
17 1a8f27c3 2004-05-14 devnull In particular, by changing the configuration a
18 1a8f27c3 2004-05-14 devnull component can be copied to a different file.
20 1a8f27c3 2004-05-14 devnull The configuration file consists of lines in the form described below.
21 1a8f27c3 2004-05-14 devnull Lines starting with
23 1a8f27c3 2004-05-14 devnull are comments.
25 1a8f27c3 2004-05-14 devnull .BI index " name
26 1a8f27c3 2004-05-14 devnull Names the index for the system.
28 1a8f27c3 2004-05-14 devnull .BI arenas " file
30 1a8f27c3 2004-05-14 devnull contains a collection of arenas, formatted using
31 1a8f27c3 2004-05-14 devnull .IR fmtarenas .
33 1a8f27c3 2004-05-14 devnull .BI isect " file
35 1a8f27c3 2004-05-14 devnull contains an index section, formatted using
36 1a8f27c3 2004-05-14 devnull .IR fmtisect .
38 1a8f27c3 2004-05-14 devnull After formatting a venti system using
39 1a8f27c3 2004-05-14 devnull .IR fmtindex ,
40 1a8f27c3 2004-05-14 devnull the order of arenas and index sections should not be changed.
41 1a8f27c3 2004-05-14 devnull Additional arenas can be appended to the configuration.
43 1a8f27c3 2004-05-14 devnull The configuration file optionally holds configuration parameters
44 1a8f27c3 2004-05-14 devnull for the venti server itself.
45 1a8f27c3 2004-05-14 devnull These are:
47 1a8f27c3 2004-05-14 devnull .BI mem " cachesize
49 1a8f27c3 2004-05-14 devnull .BI bcmem " blockcachesize
51 1a8f27c3 2004-05-14 devnull .BI icmem " indexcachesize
53 1a8f27c3 2004-05-14 devnull .BI addr " ventiaddress
55 1a8f27c3 2004-05-14 devnull .BI httpaddr " httpaddress
57 1a8f27c3 2004-05-14 devnull .B queuewrites
60 1a8f27c3 2004-05-14 devnull .IR venti (8)
61 1a8f27c3 2004-05-14 devnull for descriptions of these variables.
62 1a8f27c3 2004-05-14 devnull .SH EXAMPLE
64 1a8f27c3 2004-05-14 devnull # a sample venti configuration file
66 1a8f27c3 2004-05-14 devnull # formatted with
67 1a8f27c3 2004-05-14 devnull # venti/fmtarenas arena. /tmp/disks/arenas
68 1a8f27c3 2004-05-14 devnull # venti/fmtisect isect0 /tmp/disks/isect0
69 1a8f27c3 2004-05-14 devnull # venti/fmtisect isect1 /tmp/disks/isect1
70 1a8f27c3 2004-05-14 devnull # venti/fmtindex venti.conf
72 1a8f27c3 2004-05-14 devnull # server is started with
73 1a8f27c3 2004-05-14 devnull # venti/venti
75 1a8f27c3 2004-05-14 devnull # the name of the index
76 1a8f27c3 2004-05-14 devnull index main
78 1a8f27c3 2004-05-14 devnull # the index sections
79 1a8f27c3 2004-05-14 devnull isect /tmp/disks/isect0
80 1a8f27c3 2004-05-14 devnull isect /tmp/disks/isect1
82 1a8f27c3 2004-05-14 devnull # the arenas
83 1a8f27c3 2004-05-14 devnull arenas /tmp/disks/arenas
85 1a8f27c3 2004-05-14 devnull .SH "SEE ALSO"
86 1a8f27c3 2004-05-14 devnull .IR venti (8),
87 1a8f27c3 2004-05-14 devnull .IR ventiaux (8)