> Well I meant: when I'm having ZEO configured this way
> address localhost:11000
> monitor-address localhost:11001
> <filestorage 1>
> path /var/www/databases/zodb/almad-net.fs
> <filestorage 2>
> path /var/www/databases/zodb/zapisnik-test.fs
> path /var/log/zeo/zeo.log
> format %(asctime)s %(message)s
As before, I'd run a different ZEO server for each database. I'm not sure
that what you're doing here will be supported for much longer (or really
even _is_ supported anymore -- see my last msg).
> How do I connect to filestorage 2 (I thought that 1 and 2 are aliases)?
If it works at all, the only way would be to add a
line to your zeoclient section on the client side; see the zeoclient part of
ZODB/component.xml. That has a key named "storage", described as "The name
of the storage ..."; it also has a key named "name", described as "The
storage name". Only God could guess what the intended difference there is,
but I'm God-like enough <wink> to know that "name" is definitely not what
you want here. Specifying "storage" may well work, though.
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org