Multiple Plone sites per zope instance - using separate Data.fs files for each one.
Using Zope's mount point facilities, distinct ZODB files under the main zope root can be created to host Plone sites.
Introduction
In some cases, administrators with multiple Plone sites may want to isolate each site in a distinct database file. By default there is just one "Data.fs" file containing the entire Zope site. If each Plone site is in a distinct file, issues of backup, deletion, and relocation can (hopefully) be separable. This is an alternative to running multiple Zope instances. Discussion is welcome, since the author was attempting to optimize the problem of running multiple Plone sites corresponding to different user groups. N.B. this discussion applies only to vanilla ZODB sites and not to ZEO sites. See the comment below regarding ZEO sites.
Steps to carry out
1) Edit Zope.conf
In zope.conf, the main Data.fs storage is defined by
<zodb_db main>
# Main FileStorage database
<filestorage>
path $INSTANCE/var/Data.fs
</filestorage>
mount-point /
</zodb_db>
Adding another section below this like
<zodb_db group1>
# FileStorage for group1
<filestorage>
path $INSTANCE/var/Data_group1.fs
</filestorage>
mount-point /group1
</zodb_db>
Restarting zope will establish a new the file Data_group1.fs and make the mount point "/group1" available under the zope structure.
However, the new mount point "/group1", is not yet usable.
2) Use the zope management interface to enable the mount point.
The next step is to go to the Zope management page (not Plone's ZMI), and go to the Root Folder. In the "Add" pull down menu near the bottom, find the "ZODB Mount Point" entry and choose it. The "/group1" entry added above should be there, but not yet enabled. Select the new mount point via the check box, and click on "Create Selected Mount Points" After doing this, the new mount point should appear in the Root Folder as a subfolder.
3) Create the Plone site inside the new subfolder.
Click on the new subfolder "/group1" and go inside. Once there, use the pull down "Add" menu and choose the "Plone Site" entry. Create a Plone site as usual and you are on your way. The site will be contained in the distinct "Data_group1.fs" file.
Issues
The path to the plone site is http://yoursite:8080/group1/<sitename> where <sitename> is the name given the Plone site on creation. It makes sense to choose the names of "group1" and "sitename" in some sensible fashion to avoid a redundant name (easy to get this wrong the first time).
This technique is largely untested by the author of this How-to, hence tread carefully. Feedback is welcome.
- This discussion does NOT apply to ZEO based sites. In particular: "the recipe only applies to Zope installs without ZEO. There is considerably more than needs to be done to get a mount point in ZEO. See: http://trizpug.org/Members/cbc/mkzeowmp.txt/file_view and http://thread.gmane.org/gmane.org.user-groups.zope.trizpug/528/focus=528"

Disintegrate multiple Plones
-Jürgen