Mounting secondary ZEO storages
-----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-----
Richard Jones wrote at 2004-9-3 09:01 +1000:
... 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.
Delete the automatically created "session_folder" and replace it with a "ZODB MountPoint" (of the same name) to your session storage. -- Dieter
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 4 Sep 2004 04:17 am, Dieter Maurer wrote:
Delete the automatically created "session_folder" and replace it with a "ZODB MountPoint" (of the same name) to your session storage.
Argh! I can't believe it. I scanned that Add menu a bazillion times, and I still missed "ZODB MountPoint"!!! Thanks Dieter! Richard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBOPmSrGisBEHG6TARAnBkAJ4ywJZxuTXh5F/XCSRtWsNt0GpxJACghFGp qqtwFuKLKo/1P1s/5ppu2v8= =PiHw -----END PGP SIGNATURE-----
participants (2)
-
Dieter Maurer -
Richard Jones