[ZODB-Dev] zope.conf question...

Harald Ragger harald.ragger@icomedias.com
Tue Apr 15 08:46:43 EDT 2003


On Monday 14 April 2003 19:57, you wrote:
> On Mon, 2003-04-14 at 13:10, Harald Ragger wrote:
> > will this be possible or am i on the wrong way and will have to do it via
> > dbtab instead?
>
> Thanks for trying it out.  I haven't yet integrated dbtab functionality
> into the trunk so although it appears possible (e.g. the "mount-point"
> key), it is not yet.

ok, thanks for the info.

>
> I'm not sure when it will be (there is no timeline for this), you should
> be able to continue to use dbtab in the meantime...
>
> > zeo.conf:
> > its rather easy to seup zeo now and to serve two or more filestorages
> > configured via the zeo.conf file.
> > does anybody have conf- examples for serving BDB-Storages in ZEO?
>
> No examples, sorry, but it should be fairly easy to read the
> "component.xml" schema file inside ZODB to get an idea of what to put in
> a zeo.conf to serve up a BDB storage.
>
well, here is what i tried:

zeo.conf
-----------------------------------------
# ZEO configuration file

%define INSTANCE_HOME /opt/zeo1

<zeo>
  address localhost:9999
  read-only false
  invalidation-queue-size 100
  # monitor-address PORT
  # transaction-timeout SECONDS
</zeo>

<filestorage 1>
  path $INSTANCE_HOME/var/Data.fs
</filestorage>


<filestorage 2>
  path $INSTANCE_HOME/var/Data2.fs
</filestorage>

<fullstorage 3>
    name test-db
    interval 2m
    logdir /opt/zeo1/log
    cachesize 128MB
</fullstorage>

<eventlog>
  level debug
  <logfile>
    path $INSTANCE_HOME/log/zeo.log
  </logfile>
</eventlog>
---------------------------------

zeoctl start--> dameon process started
zeoctl status--> dameon manager running; dameon process not running

zeo-log (level = debug)
------------------------
2003-04-13T21:54:16 INFO(0) RUNSVR opening storage '1' using FileStorage
------
2003-04-13T21:54:16 INFO(0) RUNSVR opening storage '2' using FileStorage
------
2003-04-13T21:54:16 INFO(0) RUNSVR opening storage '3' using BDBFullStorage
------
2003-04-13T21:54:16 INFO(0) BDBFullStorage Creating Berkeley environment
------
2003-04-13T21:54:16 INFO(0) RUNSVR closing storage '1'
------
2003-04-13T21:54:16 INFO(0) RUNSVR closing storage '2'
-----------------------

after creating the berkeley environment (folder test-db were created 
automatically) zeo goes down.

any idea?
Thanks,
Harry


> - C





More information about the ZODB-Dev mailing list