Re: [ZODB-Dev] adding mount points
ZODB doesn't have mount points -- depending on your definition of mount point. It has multi-databases that coordinate connections. > Is there a way to dynamically load new mount points on a ZODB to avoid > relaunching the zope instance everytime a website is added ? (then > reflecting the changes in zope.conf) As Christian said, you can programatically add databases to a multi- database. See http://svn.zope.org/ZODB/trunk/src/ZODB/tests/multidb.txt?view=auto ok thx > My guess is to override getConfiguration() in > ZODBMountpoint.MountedObject > but maybe i miss something ? I don't know what ZODBMountpoint is. It's a part of ZODB. It's a small product we used some years ago to have secondary DB files for subpaths in the tree, but this approach seems deprecated with your answers. ++ Tarek -- View this message in context: http://www.nabble.com/adding-mount-points-tp14389012p14398459.html Sent from the Zope - ZODB-Dev mailing list archive at Nabble.com. ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] adding mount points
On Dec 18, 2007, at 4:42 AM, Tarek Ziadé wrote: Hi, I am working on a project that needs to do mass hosting of zope sites. I would like to have several site per zope instance, and to make a zodb mount point for each new site created to ease their maintenance. ZODB doesn't have mount points -- depending on your definition of mount point. It has multi-databases that coordinate connections. Is there a way to dynamically load new mount points on a ZODB to avoid relaunching the zope instance everytime a website is added ? (then reflecting the changes in zope.conf) As Christian said, you can programatically add databases to a multi- database. See http://svn.zope.org/ZODB/trunk/src/ZODB/tests/multidb.txt?view=auto My guess is to override getConfiguration() in ZODBMountpoint.MountedObject but maybe i miss something ? I don't know what ZODBMountpoint is. It's a part of ZODB. Jim -- Jim Fulton Zope Corporation ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] adding mount points
Christian Theune wrote: Hi, Am Dienstag, den 18.12.2007, 01:42 -0800 schrieb Tarek Ziadé: Hi, I am working on a project that needs to do mass hosting of zope sites. I would like to have several site per zope instance, and to make a zodb mount point for each new site created to ease their maintenance. Is there a way to dynamically load new mount points on a ZODB to avoid relaunching the zope instance everytime a website is added ? (then reflecting the changes in zope.conf) My guess is to override getConfiguration() in ZODBMountpoint.MountedObject but maybe i miss something ? On ZODB-level this is not an issue with the multi-database API. I'm not sure about the specifics of the ZODBMountpoint product though. Just restarting a twin instance usually causes the mountpoint to appear so with a little wiring this should be doable within one instance as well :-) Regards Tino ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev
Re: [ZODB-Dev] adding mount points
Hi, Am Dienstag, den 18.12.2007, 01:42 -0800 schrieb Tarek Ziadé: > Hi, > > I am working on a project that needs to do mass hosting of zope sites. I > would like to have several site per zope instance, and to make a zodb mount > point for each new site created to ease their maintenance. > > Is there a way to dynamically load new mount points on a ZODB to avoid > relaunching the zope instance everytime a website is added ? (then > reflecting the changes in zope.conf) > > My guess is to override getConfiguration() in ZODBMountpoint.MountedObject > but maybe i miss something ? On ZODB-level this is not an issue with the multi-database API. I'm not sure about the specifics of the ZODBMountpoint product though. Christian -- gocept gmbh & co. kg - forsterstrasse 29 - 06112 halle (saale) - germany www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 - fax +49 345 122 9889 1 - zope and plone consulting and development signature.asc Description: Dies ist ein digital signierter Nachrichtenteil ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev