[Zope] ZEO configuration question ...

Tres Seaver tseaver at palladion.com
Fri Sep 19 09:17:39 EDT 2008


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

Analog Kid wrote:

> I have a zeo setup which has one zeo server (say s1) and 5 zeo clients (say
> c1 through c5). All of these clients share a single Data.fs. Now, I need a
> zeo server (say s2) between just some of the zeo clients (say c1 and c2).
> all of these instances should share just one Dafa.fs file. Is this
> configuration possible/feasible. Any alternatives?

It is possible to "mount" a second storage at a given point within the
main storage used by the database:  the standard zope.conf, for
instance, sets this up for the session data::

 <zodb_db temporary>
    # Temporary storage database (for sessions)
    <temporarystorage>
      name temporary storage for sessioning
    </temporarystorage>
    mount-point /temp_folder
    container-class Products.TemporaryFolder.TemporaryContainer
 </zodb_db>

You can do the same thing in your two "special" clients, setting up a
mount for the "private" storage.

One caveat is that you will have to add a "mount point" object (an
instance of 'Products.ZODBMountPoint.MountedObject.MountedObject') in
the main part of your database at the path pointed to by 'mount-point'
in the configuration.  The other clients will see the "empty" mount
point, but won't be able to traverse into it, because they won't be
configured with the stanza that actually creates the mount.

HTH,


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI06Zz+gerLs4ltQ4RAiKgAKDQGU0vkSQsuSp9+3pTTrgtWcSSHACgvH0i
+EDdtDrbsfoBQeQFmK9yJgs=
=6rgr
-----END PGP SIGNATURE-----



More information about the Zope mailing list