Skip to content. Skip to navigation

High Speed Rails.com

Personal tools
You are here: Home Support FAQs How Can I Use a Separate ZODB for Each Plone Site?
Navigation
Included with all plans
Root Access
99-Day Money-Back Guarantee
Undercrowding
Phone Support
Premium Connectivity
99.99% Uptime
Free Website Accelerator
1GB Email Accounts
Convenient Control Panel
... and much more!
 
Document Actions

How Can I Use a Separate ZODB for Each Plone Site?

Zope 2.7.x and above allow you to create ZODB Mount Points, thereby using multiple ZODB's instead of just the one we were limited to before. Read on for more information on how to use this feature.

How Can I Use a Separate ZODB for Each Plone Site?

Edit zope.conf

First, you'll need to add this to the end of your zope.conf (INSTANCE_HOME/etc/zope.conf):

<zodb_db mySeparateDB>
mount-point /desired/path
<filestorage>
path $INSTANCE/var/mySeparateDB.fs
</filestorage>
</zodb_db>

You should replace mySeparateDB with a unique name, for example one that corresponds to the name of the website you are using it for.

The desired path is the path in your Zope where you want to create the Plone or other site.

Restart Zope

Once that is all set you can restart Zope. You can usually do this by typing 'zopectl restart'.

Login to Zope

Now login to the root of your Zope (ZMI) and add a "ZODB Mount Point" from the Add menu.

The mount point you configured in zope.conf will be selected. Also select the box for "Create new folders if the mounted objects don't yet exist". Submit the form and you should be all set with your separate zodb.

You'll want to create your site inside this mount point.

Questions?

Please contact us with your questions and we will get back to you right away.

Creative Commons License


© 2005-2006 High Speed Rails incorporated

701 Fifth Avenue, Suite 4200
Seattle, Washington 98104
+1 206-774-8566
+1 800-969-1452
UK: 020-7101-9307 (2PM-12AM BST)
Mexico: 55-5351-2449 - Se Habla Español
France: 01-7281-3666 (3PM-1AM CET)
Italia: 068 7720079 (3PM-1AM CET)

Powered by Plone Powered by High Speed Rails

2Checkout is an authorized retailer of our services.