source: main/waeup.kofa/trunk/etc/zope_zeo1.conf.in @ 8024

Last change on this file since 8024 was 8007, checked in by uli, 13 years ago

Add buildout configuration for ZEO (1 server, 2 clients)

File size: 2.3 KB
Line 
1# Identify the component configuration used to define the site:
2site-definition ${site_zcml:output}
3
4<zodb>
5
6  #cache-size
7
8  # num of concurrent pre-opened ZODB threads; default: 7
9  pool-size 25
10
11  # Standard blob storage
12#  <blobstorage>
13#    blob-dir ${zope_conf:blobstorage}
14#    <filestorage>
15#      path ${zope_conf:filestorage}/Data.fs
16#    </filestorage>
17#  </blobstorage>
18
19# Uncomment this if you want a blob-less standard file storage instead:
20#  <filestorage>
21#       path ${zope_conf:filestorage}
22#  </filestorage>
23
24# Uncomment this if you want to connect to a ZEO server instead:
25  <zeoclient>
26    server localhost:8100
27    storage 1
28    # ZEO client cache, in bytes
29    cache-size 20MB
30    # Uncomment to have a persistent disk cache
31    client zeo1
32  </zeoclient>
33
34# Uncomment this if you want to run a ZEO server instead:
35#  <zeo>
36#    # required; 'host:port' for TCP/IP, path to a socket file for UDP
37#    address localhost:8090
38#
39#    # optional; 'address' remarks apply
40#    #monitor-address localhost:8091
41#
42#    # optional; keep queue of last N transactions. Speeds up client cache verif.
43#    #invalidation-queue-size 10
44#
45#    # optional; is this a read-only instance? true or false
46#    #read-only false
47#
48#    # optional; seconds to wait for client to commit after acquiring lock
49#    #transaction-timeout 20
50#
51#    # optional; authentication protocol. With ZEO only 'digest' supported
52#    #authentication-protocol digest
53#
54#    # optional; Path of the database containing authentication credentials.
55#    #authentication-database
56#
57#    # optional; the authentication realm of server
58#    #authentication-realm myrealm
59#  </zeo>
60
61</zodb>
62
63<eventlog>
64  # This sets up logging to a file.
65  # The "path" setting can be a relative or absolute
66  # filesystem path.
67
68  <logfile>
69    path ${zope_conf:logfiles}/zeo1_z3.log
70    formatter zope.exceptions.log.Formatter
71  </logfile>
72
73  # This sets up logging to to standard output.
74  # The "path" setting can be the tokens STDOUT or STDERR
75 
76#  <logfile>
77#    path STDOUT
78#    formatter zope.exceptions.log.Formatter
79#  </logfile>
80</eventlog>
81
82# Comment this line to disable developer mode.  This should be done in
83# production
84#devmode on
85
86# Extra configuration lines can be added to zope_conf's extra option. Put for
87# instance productconf sections in here.
88${zope_conf:extra}
Note: See TracBrowser for help on using the repository browser.