Fwd: Re: [ZODB-Dev] Handling more databases with zeo

Lukas Linhart almad at include.cz
Tue Jun 28 16:32:08 EDT 2005


Sorry for not posting into mailing list, I'm just used only to press 'r' 
key :/

---------- Forwarded message  ----------

Hello,

>     import ZODB.config
>     db = ZODB.config.databaseFromURL('/tmp/zeo.conf')
>
> then works unchanged no matter which storage is specified in /tmp/zeo.conf.
>
> Maybe you could be more specific about what you want to do?

Well I meant: when I'm having ZEO configured this way (/etc/zeo/zeo.conf):

<zeo>
        address localhost:11000
        monitor-address localhost:11001
</zeo>

<filestorage 1>
        path /var/www/databases/zodb/almad-net.fs
</filestorage>
<filestorage 2>
        path /var/www/databases/zodb/zapisnik-test.fs
</filestorage>

<eventlog>
        <logfile>
                path /var/log/zeo/zeo.log
                format %(asctime)s %(message)s
        </logfile>
</eventlog>

How do I connect to filestorage 2 (I thought that 1 and 2 are aliases)?

--

Lukas "Almad" Linhart

[:: http://www.Include.cz/ ::]
[:: Including Your wishes ::]
[:: PGP/GNUPg key: http://download.almad.net/pubkey.asc ::]

-------------------------------------------------------

-- 

Lukas "Almad" Linhart

[:: http://www.Include.cz/ ::]
[:: Including Your wishes ::]
[:: PGP/GNUPg key: http://download.almad.net/pubkey.asc ::]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20050628/4bf40fe2/attachment.bin


More information about the ZODB-Dev mailing list