Who - kedai (a) kedai . com . my
Where - Malaysia
What - we do zope/plone, linux solution for network, vpn, mail, etc
Multiple storage on zope/Zeo
by kedai — last modified Aug. 30, 04 01:30 PM
Zope/Zeo can have multiple storage mounted at anytime. Be default, zope already have two storages mounted ootb (w version 2.7.x); main and temporary_folder. Here's how to add more storage.
Mounting multiple storage in Zope:
Follow through these steps:
add another declaration, specify another and change the filename:
<zodb_db anotherdb> Main FileStorage database <filestorage> #we have a storage of type filestorage path $INSTANCE/var/Anotherdb.fs #path to our new storage </filestorage> mount-point /somewhere #where it will be mounted </zodb_db>
note: there used to be other type of storages - BerkeleyStorage, OracleStorage, etc. I haven't yet worked with these other implementation, so can;t say much. IIRC, BerkeleyStorage is no longer maintained.
Mounting multiple storage in Zeo:
Almost the same steps are needed. The difference is that some changes are done in zeo.conf::
we're done. notice that with zeo, we can actually have many zeo servers, and zeo clients can actually mount any storage.