[Zope] Mounting secondary ZEO storages

Richard Jones richardjones at optushome.com.au
Thu Sep 2 19:01:08 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've got a ZEO setup in which I have two ZEO storages as described in:

   http://www.zopelabs.com/cookbook/1061234337

The pertinent bits are in the zope.conf:

<zodb_db main>
   <zeoclient>
     server 19001
     storage main
     name main
     client main
     var $INSTANCE/zope-19100/var/
   </zeoclient>
   mount-point /
</zodb_db>

<zodb_db session>
   <zeoclient>
     server 19001
     storage session
     name session
     client session
     var $INSTANCE/zope-19100/var/
   </zeoclient>
   mount-point /session_folder
</zodb_db>

When I set up a *new* Zope/ZEO install using this scheme, it all works. The
sessions are stuffed into the Session-Data storage, and all's happy.

When I tried to update an *existing* setup to migrate it from a single Zope
server to using ZEO, and then using the session_folder / Session-Data ZEO
setup, it doesn't work - session_folder just gets created in the existing
Data.fs. I tried deleting session_folder and restarting before re-adding the
folder, to no avail.

The "sessions" storage is mounted - it appears in the control panel. It just
doesn't get used.

Any hints?


     Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBN6Y0rGisBEHG6TARAvQ2AJ9jZrWyQ8j5J6u1sii6mchiBN6J7wCfc6EV
huI06allw/n8NzWpZ0fbZ+g=
=nApT
-----END PGP SIGNATURE-----


More information about the Zope mailing list