Re: Best Practice for Setting up 19 Sites in Plone 4.3

dieter <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Edward Soong <[email protected]> writes:
> ...
> I work at an university school of engineering where they current have Plone 3.3.5 serving 19 sites on 1 zope instance using separate Data.fs files for each site (ZODB Mounting Point), which is described in this support document "http://plone.org/documentation/kb-old/multiple-plone-sites-per-zope-instance-using-separate-data-fs-files-for-each-one. It is using collective.recipe.filestorage
>
> (1) I am in the process to upgrade the 19 sites to Plone 4.3.3, but I am not certain if 4.3 supports separate Data.fs for each site on 1 Zope instance.

"ZODB Mount Points" are implemented at a very low level (much below Plone)
and (if set up correctly) are (almost) transparent to higher levels
(such as Plone). Thus, all Plone versions should be able use them
in the same way.

> If 4.3 does, how do you configure buildout.cfg to support that?

The normal instance recipe does not support this setup
directly (in the same way as the single mount point setup).
But it supports a general purpose configuration option
for adding arbitrary definitions to the generated "zope.conf".
Use this to define the storages and the associated mount points
(likely, your old installation has done this as well).

>(The configuration in Plone 3.3.5 fails in 4.3.3). The last release of collective.recipe.filestorage was in 2010.

I do not know "collective.recipe.filestorage". Should its sole
purpose be to help with the configuration of the storages and the
corresponding mount points, you could do without it.


> (2) Or should I put 10 sites onto 1 Data.fs? We bought 2 server machines, planning to divide up the 19 sites, 10 on one server and 9 on the other server, to increase web server performance.

Likely, there was a reason for the original separation (one might
be easier restoration in case of some catastrophical destruction in one site).


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.